feat: new portal selection and favicons

This commit is contained in:
Rekryt
2025-07-10 18:17:05 +03:00
parent e015b3dad7
commit b98981a172
26 changed files with 338 additions and 3364 deletions

View File

@@ -84,6 +84,12 @@ export default defineNuxtConfig({
},
},
runtimeConfig: {
public: {
API_BASE_URL: process.env.API_BASE_URL ?? 'https://iplist.opencck.org/',
},
},
nitro: {
devProxy: {
'/api': {
@@ -91,13 +97,18 @@ export default defineNuxtConfig({
hostRewrite: process.env.API_BASE_URL ?? 'https://iplist.opencck.org/',
changeOrigin: true,
},
'/favicon': {
target: process.env.API_BASE_URL ?? 'https://iplist.opencck.org/',
hostRewrite: process.env.API_BASE_URL ?? 'https://iplist.opencck.org/',
changeOrigin: true,
},
},
output: {
publicDir: path.join(__dirname, '../public/'),
},
prerender: {
ignore: ['/index'],
}
},
},
compatibilityDate: '2025-06-28',