feat: handle dev server proxy by traefik

This commit is contained in:
Justin Lin committed 2025-05-05 19:54:35 +08:00
1 parent 5e81db2759
commit 9c9456693d
3 files changed
+30

No files matched your search

+1
View File
@@ -15,6 +15,7 @@ export default defineConfig({
},
},
server: {
host: '0.0.0.0',
proxy: {
'/trpc': {
target: process.env.API_TARGET || 'http://localhost:3000',