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