Skip to content
Snippets Groups Projects
Commit ac4ebfac authored by Jure's avatar Jure
Browse files

fix: fix host name for static file proxy

parent 45334076
No related branches found
No related tags found
No related merge requests found
...@@ -3,9 +3,6 @@ const fs = require('fs-extra') ...@@ -3,9 +3,6 @@ const fs = require('fs-extra')
const config = require('config') const config = require('config')
const { pick } = require('lodash') const { pick } = require('lodash')
const SpeedMeasurePlugin = require('speed-measure-webpack-plugin')
const smp = new SpeedMeasurePlugin()
const rules = require('./common-rules') const rules = require('./common-rules')
const contentBase = path.resolve(__dirname, '..', '_build', 'assets') const contentBase = path.resolve(__dirname, '..', '_build', 'assets')
...@@ -37,7 +34,7 @@ module.exports = webpackEnv => { ...@@ -37,7 +34,7 @@ module.exports = webpackEnv => {
'/api': 'http://localhost:3000', '/api': 'http://localhost:3000',
'/auth': 'http://localhost:3000', '/auth': 'http://localhost:3000',
'/graphql': 'http://localhost:3000', '/graphql': 'http://localhost:3000',
'/static/uploads': 'http://locahost:3000', '/static/uploads': 'http://localhost:3000',
'/static/profiles': 'http://localhost:3000', '/static/profiles': 'http://localhost:3000',
'/public': 'http://localhost:3000', '/public': 'http://localhost:3000',
}, },
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment