mirror of
https://git.suyu.dev/suyu/website.git
synced 2026-01-10 08:28:01 +01:00
blarghh
This commit is contained in:
parent
5351c54d8d
commit
f56d94bffc
4 changed files with 69 additions and 1 deletions
|
|
@ -1,9 +1,10 @@
|
|||
import { db } from "$lib/server/db";
|
||||
import "reflect-metadata";
|
||||
import { building } from "$app/environment";
|
||||
import type { Handle } from "@sveltejs/kit";
|
||||
|
||||
const runAllTheInitFunctions = async () => {
|
||||
await db.initialize();
|
||||
if (!db.isInitialized) await db.initialize();
|
||||
};
|
||||
|
||||
if (!building) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue