From 5facd91fab909fb4afe3bcad232db6b4c14ab257 Mon Sep 17 00:00:00 2001 From: Alexander Onnikov Date: Sat, 15 Mar 2025 00:07:43 +0700 Subject: [PATCH] fix: use huly.local in webpack proxy config (#8233) Signed-off-by: Alexander Onnikov --- dev/prod/webpack.config.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/dev/prod/webpack.config.js b/dev/prod/webpack.config.js index e9c7b58f69..dd7f58ee6d 100644 --- a/dev/prod/webpack.config.js +++ b/dev/prod/webpack.config.js @@ -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'