Skip to content

Commit 00e17e7

Browse files
committed
Remove proxy settings from Vite server config
Proxy configuration for '/api' and '/config' endpoints has been removed from the Vite server settings. This simplifies the development server setup and may indicate a change in how API and config requests are handled during development.
1 parent dbe5f5f commit 00e17e7

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

src/frontend/vite.config.ts

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,13 @@ export default defineConfig({
1313
},
1414
},
1515

16+
17+
1618
// Server configuration
1719
server: {
1820
port: 3001,
1921
open: true,
20-
host: true,
21-
proxy: {
22-
'/api': {
23-
target: 'http://localhost:8000', // Backend API endpoints
24-
changeOrigin: true,
25-
secure: false,
26-
},
27-
'/config': {
28-
target: 'http://localhost:3000', // Frontend server for config
29-
changeOrigin: true,
30-
secure: false,
31-
}
32-
}
22+
host: true
3323
},
3424

3525
// Build configuration

0 commit comments

Comments
 (0)