1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-01-17 13:38:37 +01:00

Allow the dev server to work for non localhost host (#2516)

This change is useful in order to access the live updating dev server from a mobile device that is not on localhost. A precursor to getting Android working.
This commit is contained in:
Sunny Hirai 2019-01-03 12:57:33 -08:00 committed by GitHub
parent 6f41f2e8e9
commit 48f1bfcb6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,6 +23,7 @@ const config = {
contentBase: './examples',
publicPath: '/',
hot: true,
host: '0.0.0.0',
},
module: {
rules: [