Skip to content

Commit 63e8b73

Browse files
committed
add secure: false for localhost
1 parent eaf2c16 commit 63e8b73

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vite.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ export default defineConfig({
1414
proxy: {
1515
// custom proxy rules for dev server, allows shorthand for fetch requests
1616
'/events': {
17-
target: 'http://localhost:4000/events',
17+
target: 'http://localhost:4000',
1818
changeOrigin: true,
19+
secure: false,
1920
},
2021
},
2122
},

0 commit comments

Comments
 (0)