should work on both localhost and outside.

This commit is contained in:
pulipakaa24
2026-03-19 13:48:19 -05:00
parent 6026e4dda6
commit 8c2f8fa7b1
11 changed files with 157 additions and 61 deletions

View File

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