Skip to content

Commit

Permalink
refactor: changed name of variant
Browse files Browse the repository at this point in the history
refactor: changed name of variant
- Also added `disableHostCheck: true` to disable error "Invalid Host/Origin Header" warning
- issue webpack/webpack-dev-server#1604
  • Loading branch information
damien-shaw-guardian committed May 15, 2019
1 parent 1e10716 commit cd3d0de
Show file tree
Hide file tree
Showing 3 changed files with 255 additions and 103 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ export const discountCopyChoices = {
control: ['Save up to','37%'],
save: ['Save up to', '£27.78', 'per month'],
from: ['from', '£1.57', 'per issue'],
getup: ['Get up to', '11', 'issues free per mth']
getupto: ['Get up to', '11', 'issues free per mth']
}
1 change: 1 addition & 0 deletions support-frontend/webpack.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ module.exports = merge(common('[name].css', '[name].js', false), {
mode: 'development',
devtool: 'inline-source-map',
devServer: {
disableHostCheck: true,
proxy: {
'**': {
target: 'http://support.thegulocal.com:9210',
Expand Down
Loading

0 comments on commit cd3d0de

Please sign in to comment.