Fix : prevent fetching back data on build
release-tag / release-image (push) Successful in 29s

This commit is contained in:
2024-08-02 09:08:59 +02:00
parent 2876f7b91e
commit 08fb23e729
3 changed files with 2 additions and 4 deletions
+2
View File
@@ -15,6 +15,8 @@ export default defineNuxtConfig({
},
nitro: {
prerender: {
routes: ["/rules", "/login", "/game", "/lobby"],
crawlLinks: true,
},
},
-2
View File
@@ -28,8 +28,6 @@ const {
server: false,
});
await execute();
const containers = computed<Record<string, Container>>(() => ({
[game.value!.fireGems._id]: game.value!.fireGems,
[game.value!.market._id]: game.value!.market,
-2
View File
@@ -14,8 +14,6 @@ const req = await useFetch<Array<Game>>(config.public.endpoint + "/games", {
server: false,
});
await req.execute();
let games = req.data;
const erika_alive = ref(true);