diff --git a/webpack.config.js b/webpack.config.js index 75915b8f65c192b5245dcc897e7b96c5faa6566a..b5c8473df935345b390cabd651fb6fc2b65b28c0 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -72,13 +72,11 @@ module.exports = (env, argv) => ({ }, devtool: argv.mode === "production" ? "source-map" : "inline-source-map", devServer: { - open: false, https: createHTTPSConfig(), host: "0.0.0.0", useLocalIp: true, - public: "hubs.local:8080", - port: 8080, - headers: { "Access-Control-Allow-Origin": "*" }, + allowedHosts: ["hubs.local"], + headers: { "Access-Control-Allow-Origin": "hubs.local" }, before: function(app) { // networked-aframe makes HEAD requests to the server for time syncing. Respond with an empty body. app.head("*", function(req, res, next) {