201 előtti mentés

This commit is contained in:
Roo
2026-03-26 07:09:44 +00:00
parent 89668a9beb
commit 03258db091
124 changed files with 13619 additions and 13347 deletions

View File

@@ -34,6 +34,9 @@ export default defineNuxtConfig({
define: {
'process.env.DEBUG': false,
},
server: {
allowedHosts: ['admin.servicefinder.hu']
},
},
runtimeConfig: {
public: {
@@ -41,5 +44,18 @@ export default defineNuxtConfig({
appName: 'Service Finder Admin',
appVersion: '1.0.0'
}
},
// Nitro proxy configuration for Docker networking
routeRules: {
'/api/**': {
proxy: 'http://sf_api:8000/api/**',
// Add CORS headers for development
cors: true,
headers: {
'Access-Control-Allow-Origin': '*',
'Access-Control-Allow-Methods': 'GET, POST, PUT, DELETE, OPTIONS',
'Access-Control-Allow-Headers': 'Content-Type, Authorization'
}
}
}
})