This website works better with JavaScript.
Home
Explore
Help
Sign In
jyt94
/
closedSocialMastodon
forked from
closed-social/mastodon
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Fix webpack-dev-server on Windows (
#4000
)
* Fix webpack-dev-server on Windows * Serve webpack from 0.0.0.0, access at 127.0.0.1
closed-social-v3
Nolan Lawson
6 years ago
committed by
Eugen Rochko
parent
59ddf81a45
commit
968354923e
2 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
bin/webpack-dev-server
+1
-1
config/webpacker.yml
+ 1
- 1
bin/webpack-dev-server
View File
@ -23,7 +23,7 @@ end
begin
dev_server = YAML.load_file(CONFIG_FILE)["development"]["dev_server"]
DEV_SERVER_HOST = "http#{"s" if args('--https') || dev_server["https"]}://#{
args('--host') ||
dev_server["host"]}:#{args('--port') || dev_server["port"]}"
DEV_SERVER_HOST = "http#{"s" if args('--https') || dev_server["https"]}://#{dev_server["host"]}:#{args('--port') || dev_server["port"]}"
rescue Errno::ENOENT, NoMethodError
puts "Webpack dev_server configuration not found in #{CONFIG_FILE}."
+ 1
- 1
config/webpacker.yml
View File
@ -19,7 +19,7 @@ development:
<<
:
*default
dev_server:
host
:
0.0
.0
.0
host
:
127.0
.0
.1
port
:
8080
https
:
false
Write
Preview
Loading…
Cancel
Save