add both hosts to config

This commit is contained in:
2026-03-19 18:50:18 +00:00
parent 8c2f8fa7b1
commit dca2c89641

View File

@@ -6,7 +6,7 @@ export default defineConfig({
plugins: [react(), tailwindcss()], plugins: [react(), tailwindcss()],
server: { server: {
host: true, host: true,
allowedHosts: ["localhost"], allowedHosts: ["labwise.wahwa.com", "localhost"],
proxy: { proxy: {
'/api': { target: 'http://localhost:3001', changeOrigin: true }, '/api': { target: 'http://localhost:3001', changeOrigin: true },
'/uploads': { target: 'http://localhost:3001', changeOrigin: true }, '/uploads': { target: 'http://localhost:3001', changeOrigin: true },