From ac4ebfac0cc8f79db263dd528987dadfce48f9ed Mon Sep 17 00:00:00 2001 From: Jure Triglav <juretriglav@gmail.com> Date: Thu, 6 Aug 2020 11:18:07 +0200 Subject: [PATCH] fix: fix host name for static file proxy --- webpack/webpack.config.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/webpack/webpack.config.js b/webpack/webpack.config.js index 5f3ab73a5b..9faeb4b28a 100644 --- a/webpack/webpack.config.js +++ b/webpack/webpack.config.js @@ -3,9 +3,6 @@ const fs = require('fs-extra') const config = require('config') const { pick } = require('lodash') -const SpeedMeasurePlugin = require('speed-measure-webpack-plugin') -const smp = new SpeedMeasurePlugin() - const rules = require('./common-rules') const contentBase = path.resolve(__dirname, '..', '_build', 'assets') @@ -37,7 +34,7 @@ module.exports = webpackEnv => { '/api': 'http://localhost:3000', '/auth': 'http://localhost:3000', '/graphql': 'http://localhost:3000', - '/static/uploads': 'http://locahost:3000', + '/static/uploads': 'http://localhost:3000', '/static/profiles': 'http://localhost:3000', '/public': 'http://localhost:3000', }, -- GitLab