chore(site): update nitro

This commit is contained in:
Ayo Ayco 2024-12-08 20:32:13 +01:00
parent 17f631baaf
commit 1491c5b35f
2 changed files with 7 additions and 2 deletions

View file

@ -1,8 +1,10 @@
export default defineNitroConfig({ export default defineNitroConfig({
extends: "@mcflyjs/config", extends: "@mcflyjs/config",
devServer: { devServer: {
watch: ["../packages"], watch: ["../packages"],
}, },
routeRules: { routeRules: {
"/chat": { "/chat": {
redirect: { redirect: {
@ -11,8 +13,11 @@ export default defineNitroConfig({
}, },
}, },
}, },
compressPublicAssets: { compressPublicAssets: {
gzip: true, gzip: true,
brotli: true, brotli: true,
}, },
});
compatibilityDate: "2024-12-08",
});

View file

@ -14,7 +14,7 @@
"@mcflyjs/cli": "workspace:*", "@mcflyjs/cli": "workspace:*",
"@mcflyjs/config": "workspace:*", "@mcflyjs/config": "workspace:*",
"@mcflyjs/core": "workspace:*", "@mcflyjs/core": "workspace:*",
"nitropack": "2.8" "nitropack": "~2.10.4"
}, },
"version": "0.0.1", "version": "0.0.1",
"main": "index.js", "main": "index.js",