add both hosts to config
This commit is contained in:
@@ -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 },
|
||||||
|
|||||||
Reference in New Issue
Block a user