mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-29 13:27:31 -07:00
me when codeberg
This commit is contained in:
parent
02825ee694
commit
d384ab5c7c
2 changed files with 12 additions and 2 deletions
|
@ -170,7 +170,12 @@ import { defaultStore } from "@/store";
|
||||||
import * as os from "@/os";
|
import * as os from "@/os";
|
||||||
import { definePageMetadata } from "@/scripts/page-metadata";
|
import { definePageMetadata } from "@/scripts/page-metadata";
|
||||||
|
|
||||||
const patrons = await os.api("patrons", { forceUpdate: true });
|
let patrons = [];
|
||||||
|
try {
|
||||||
|
patrons = await os.api("patrons", { forceUpdate: true });
|
||||||
|
} catch {
|
||||||
|
console.error("Codeberg's down.")
|
||||||
|
}
|
||||||
|
|
||||||
let easterEggReady = false;
|
let easterEggReady = false;
|
||||||
let easterEggEmojis = $ref([]);
|
let easterEggEmojis = $ref([]);
|
||||||
|
|
|
@ -451,7 +451,12 @@ const timeForThem = $computed(() => {
|
||||||
return "";
|
return "";
|
||||||
});
|
});
|
||||||
|
|
||||||
const patrons = await os.api("patrons");
|
let patrons = [];
|
||||||
|
try {
|
||||||
|
patrons = await os.api("patrons");
|
||||||
|
} catch {
|
||||||
|
console.error("Codeberg's down.")
|
||||||
|
}
|
||||||
|
|
||||||
function parallaxLoop() {
|
function parallaxLoop() {
|
||||||
parallaxAnimationId = window.requestAnimationFrame(parallaxLoop);
|
parallaxAnimationId = window.requestAnimationFrame(parallaxLoop);
|
||||||
|
|
Loading…
Reference in a new issue