fix: cache servers (#611)

zio/stable
Daniel Roe 2022-12-28 16:17:37 +01:00 committed by GitHub
parent aeb5a40948
commit abe6af40f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -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,