You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have webpack with HMR. While I run app from local IP, page connect with http://192.168.0.123:12345/__webpack_hmr. But when I run form my temp domain https://exampledomain.com/__webpack_hmr page is loading, but return 502.
All page is wornkig on both adress, but /__webpack_hmr not.
server/index.js
var express = require('express');
var app = express();
var server = require('http').Server(app);
var webpackConfig = require('./webpack.server.config')
const webpack = require("webpack");
const compiler = webpack(webpackConfig);
app.use(require('webpack-dev-middleware')(compiler));
app.use(require("webpack-hot-middleware")(compiler));
app.get('/', (req, res) => {
res.send(...)
});
server.listen(12345, () => {
console.log('App listening on http://localhost:12345');
});
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have webpack with HMR. While I run app from local IP, page connect with
http://192.168.0.123:12345/__webpack_hmr
. But when I run form my temp domainhttps://exampledomain.com/__webpack_hmr
page is loading, but return 502.All page is wornkig on both adress, but
/__webpack_hmr
not.server/index.js
webpack.server.config.js
web.config
Beta Was this translation helpful? Give feedback.
All reactions