fix: cache servers (#611)
This commit is contained in:
parent
aeb5a40948
commit
abe6af40f3
|
@ -99,6 +99,7 @@ export default defineNuxtConfig({
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
routeRules: {
|
routeRules: {
|
||||||
|
'/api/list-servers': { swr: true },
|
||||||
'/manifest.webmanifest': {
|
'/manifest.webmanifest': {
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/manifest+json',
|
'Content-Type': 'application/manifest+json',
|
||||||
|
@ -113,9 +114,6 @@ export default defineNuxtConfig({
|
||||||
crawlLinks: false,
|
crawlLinks: false,
|
||||||
routes: ['/', '/200.html'],
|
routes: ['/', '/200.html'],
|
||||||
},
|
},
|
||||||
routeRules: {
|
|
||||||
'/list-servers': { swr: true },
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
app: {
|
app: {
|
||||||
keepalive: true,
|
keepalive: true,
|
||||||
|
|
Loading…
Reference in a new issue