Backup: 2025-06-08 00:29 - User and admin online ready for dockerhub

[Restore from backup: vip-coordinator-backup-2025-06-08-00-29-user and admin online ready for dockerhub]
This commit is contained in:
2025-06-08 00:29:00 +02:00
parent 035f76fdd3
commit 36cb8e8886
33 changed files with 3676 additions and 3527 deletions

View File

@@ -14,36 +14,45 @@ export default defineConfig({
port: 5173,
allowedHosts: [
'localhost',
'127.0.0.1'
'127.0.0.1',
'bsa.madeamess.online',
'.madeamess.online' // Allow all subdomains
],
headers: {
'Cross-Origin-Opener-Policy': 'same-origin-allow-popups'
},
proxy: {
'/api': {
target: 'http://backend:3000',
target: 'http://127.0.0.1:3000',
changeOrigin: true,
},
// Only proxy specific auth endpoints, not the callback route
'/auth/setup': {
target: 'http://backend:3000',
target: 'http://127.0.0.1:3000',
changeOrigin: true,
},
'/auth/google/url': {
target: 'http://backend:3000',
target: 'http://127.0.0.1:3000',
changeOrigin: true,
},
'/auth/google/exchange': {
target: 'http://backend:3000',
target: 'http://127.0.0.1:3000',
changeOrigin: true,
},
'/auth/google/verify': {
target: 'http://127.0.0.1:3000',
changeOrigin: true,
},
'/auth/me': {
target: 'http://backend:3000',
target: 'http://127.0.0.1:3000',
changeOrigin: true,
},
'/auth/logout': {
target: 'http://backend:3000',
target: 'http://127.0.0.1:3000',
changeOrigin: true,
},
'/auth/status': {
target: 'http://backend:3000',
target: 'http://127.0.0.1:3000',
changeOrigin: true,
},
},