瀏覽代碼

feat(dev) bind to 0.0.0.0 on the dev server by default

master
Saúl Ibarra Corretgé 4 年之前
父節點
當前提交
c56afde00c
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. 1
    0
      webpack.config.js

+ 1
- 0
webpack.config.js 查看文件

35
 const config = {
35
 const config = {
36
     devServer: {
36
     devServer: {
37
         https: true,
37
         https: true,
38
+        host: '0.0.0.0',
38
         inline: true,
39
         inline: true,
39
         proxy: {
40
         proxy: {
40
             '/': {
41
             '/': {

Loading…
取消
儲存