69 lines
1.6 KiB
TypeScript
69 lines
1.6 KiB
TypeScript
export default defineNuxtConfig({
|
|
compatibilityDate: '2025-07-15',
|
|
devtools: { enabled: true },
|
|
modules: [
|
|
'@nuxt/icon',
|
|
'@nuxt/image',
|
|
'@nuxt/fonts',
|
|
'@nuxtjs/sitemap',
|
|
'@nuxtjs/robots'
|
|
],
|
|
|
|
runtimeConfig: {
|
|
public: {
|
|
url: 'http://localhost:3000',
|
|
api: 'http://localhost:5555',
|
|
}
|
|
},
|
|
|
|
site: {
|
|
url: 'https://visione.studentindipendenti.it',
|
|
name: 'Visione - Un\'occhio per la sicurezza del cittadino.',
|
|
},
|
|
|
|
nitro: {
|
|
devProxy: {
|
|
'/api/v1': {
|
|
target: 'https://bk.visione.studentindipendenti.it/api/v1',
|
|
changeOrigin: true,
|
|
headers: {
|
|
host: 'bk.visione.studentindipendenti.it',
|
|
origin: 'https://visione.studentindipendenti.it',
|
|
referer: 'https://visione.studentindipendenti.it/'
|
|
}
|
|
},
|
|
'/uploads': {
|
|
target: 'https://bk.visione.studentindipendenti.it/uploads',
|
|
changeOrigin: true,
|
|
headers: {
|
|
host: 'bk.visione.studentindipendenti.it',
|
|
origin: 'https://visione.studentindipendenti.it',
|
|
referer: 'https://visione.studentindipendenti.it/'
|
|
}
|
|
}
|
|
}
|
|
},
|
|
|
|
css: [
|
|
'leaflet/dist/leaflet.css',
|
|
'bootstrap-italia/dist/css/bootstrap-italia.min.css',
|
|
'@/assets/css/style.css'
|
|
],
|
|
|
|
fonts: {
|
|
families: [
|
|
{ name: 'Lora', provider: 'google' },
|
|
{ name: 'Roboto Mono', provider: 'google' },
|
|
{ name: 'Titillium Web', provider: 'google' }
|
|
]
|
|
},
|
|
|
|
app: {
|
|
head: {
|
|
link: [
|
|
{ rel: 'icon', type: 'image/svg+xml', href: '/icon.svg' }
|
|
]
|
|
}
|
|
}
|
|
})
|