Compliance page vite dev server proxies graphQL API calls

Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
Émile Ré
2026-01-28 09:43:21 +04:00
parent baad2f8a34
commit d3c2f0bf7d
2 changed files with 2 additions and 1 deletions

View File

@@ -7,6 +7,7 @@ All notable changes to this project will be documented in this file.
### Changed ### Changed
- Remove query params from compliange page sidebar website displayed URLs - Remove query params from compliange page sidebar website displayed URLs
- Compliance page vite dev server proxies graphQL API calls to go server port
## [0.116.11] - 2026-01-27 ## [0.116.11] - 2026-01-27

View File

@@ -14,7 +14,7 @@ export default defineConfig({
server: { server: {
port: 5174, port: 5174,
proxy: { proxy: {
"/api": { "^/trust/[^/]+/api": {
target: "http://localhost:8080", target: "http://localhost:8080",
changeOrigin: true, changeOrigin: true,
}, },