chore(site): update nitro
This commit is contained in:
parent
17f631baaf
commit
1491c5b35f
2 changed files with 7 additions and 2 deletions
|
@ -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",
|
||||
});
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue