should work on both localhost and outside.
This commit is contained in:
@@ -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 },
|
||||
|
||||
Reference in New Issue
Block a user