From aa826629cfdb38eb451ecfb1c0afbde5b97fcbb9 Mon Sep 17 00:00:00 2001 From: f Date: Thu, 6 Feb 2020 14:07:13 -0300 Subject: [PATCH] webpacker configurable --- config/webpacker.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/webpacker.yml b/config/webpacker.yml index ec2129c4..c37bb708 100644 --- a/config/webpacker.yml +++ b/config/webpacker.yml @@ -58,9 +58,9 @@ development: # Reference: https://webpack.js.org/configuration/dev-server/ dev_server: https: true - host: sutty.local + host: <%= ENV.fetch('SUTTY', 'localhost') %> port: 3035 - public: sutty.local:3035 + public: <%= ENV.fetch('SUTTY', 'localhost') %>:3035 hmr: false # Inline should be set to true if using HMR inline: true