Skip to content

Commit

Permalink
fix webpack dev server port config for electrode-server using hapi@16 (
Browse files Browse the repository at this point in the history
…#1705)

Co-authored-by: Yisheng Jiang <[email protected]>
  • Loading branch information
yishengjiang99 and yishengjiangcollab authored Jul 22, 2020
1 parent c1532b9 commit 6e91db2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/xarc-app-dev/lib/dev-admin/dev-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,8 @@ if (fastifyServer) {
electrode: {
logLevel: "warn"
},
connection: {
host: archetype.webpack.devHostname,
port: archetype.webpack.devPort
connections: {
default: { host: archetype.webpack.devHostname, port: archetype.webpack.devPort }
},
plugins: {
webpackDevHapi: {
Expand Down

0 comments on commit 6e91db2

Please sign in to comment.