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

View file

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