fix: use huly.local in webpack proxy config (#8233)
Some checks failed
CI / build (push) Has been cancelled
CI / uitest (push) Has been cancelled
CI / uitest-pg (push) Has been cancelled
CI / uitest-qms (push) Has been cancelled
CI / uitest-workspaces (push) Has been cancelled
CI / svelte-check (push) Has been cancelled
CI / formatting (push) Has been cancelled
CI / test (push) Has been cancelled
CI / docker-build (push) Has been cancelled
CI / dist-build (push) Has been cancelled

Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
Alexander Onnikov 2025-03-15 00:07:43 +07:00 committed by GitHub
parent 2ffffc6c39
commit 5facd91fab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -44,28 +44,28 @@ const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPl
const devProxy = {
'/account': {
target: 'http://localhost:3000',
target: 'http://huly.local:3000',
changeOrigin: true,
pathRewrite: { '^/account': '' },
logLevel: 'debug'
},
'/files': {
target: 'http://localhost:8087',
target: 'http://huly.local:8087',
changeOrigin: true,
logLevel: 'debug'
},
'/api/v1': {
target: 'http://localhost:8087',
target: 'http://huly.local:8087',
changeOrigin: true,
logLevel: 'debug'
},
'/import': {
target: 'http://localhost:8087',
target: 'http://huly.local:8087',
changeOrigin: true,
logLevel: 'debug'
},
'/rekoni/recognize': {
target: 'http://localhost:4004',
target: 'http://huly.local:4004',
changeOrigin: true,
pathRewrite: { '^/rekoni/recognize': '/recognize' },
logLevel: 'debug'
@ -80,22 +80,22 @@ const devProxyTest = {
logLevel: 'debug'
},
'/files': {
target: 'http://localhost:8083',
target: 'http://huly.local:8083',
changeOrigin: true,
logLevel: 'debug'
},
'/api/v1': {
target: 'http://localhost:8083',
target: 'http://huly.local:8083',
changeOrigin: true,
logLevel: 'debug'
},
'/import': {
target: 'http://localhost:8083',
target: 'http://huly.local:8083',
changeOrigin: true,
logLevel: 'debug'
},
'/rekoni/recognize': {
target: 'http://localhost:4004',
target: 'http://huly.local:4004',
changeOrigin: true,
pathRewrite: { '^/rekoni/recognize': '/recognize' },
logLevel: 'debug'