mirror of
https://github.com/rekryt/iplist.git
synced 2025-10-12 16:39:35 +03:00
feat: new portal selection and favicons
This commit is contained in:
@@ -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',
|
||||
|
Reference in New Issue
Block a user