move amq data out of static since it's too big for cloudflare

This commit is contained in:
2026-02-05 03:22:52 -08:00
parent 2b51beff34
commit e403e355ae
5 changed files with 4 additions and 10 deletions

View File

@@ -6,18 +6,12 @@ import {
AmqGroupSchema, AmqGroupSchema,
AmqSongSchema, AmqSongSchema,
} from "$lib/types/amq"; } from "$lib/types/amq";
import amqAnimeJson from "../../../static/data/amq-anime.json" with { import amqAnimeJson from "../../../data/amq-anime.json" with { type: "json" };
type: "json", import amqArtistsJson from "../../../data/amq-artists.json" with {
};
import amqArtistsJson from "../../../static/data/amq-artists.json" with {
type: "json",
};
import amqGroupsJson from "../../../static/data/amq-groups.json" with {
type: "json",
};
import amqSongsJson from "../../../static/data/amq-songs.json" with {
type: "json", type: "json",
}; };
import amqGroupsJson from "../../../data/amq-groups.json" with { type: "json" };
import amqSongsJson from "../../../data/amq-songs.json" with { type: "json" };
import { db } from "./index"; import { db } from "./index";
import { import {
animeGenresTable, animeGenresTable,