fix: cache servers (#611)

This commit is contained in:
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

View file

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