forked from Mirrors/elk
fix: cache servers (#611)
This commit is contained in:
parent
aeb5a40948
commit
abe6af40f3
1 changed files with 1 additions and 3 deletions
|
@ -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 a new issue