Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
6fffdf7f
Commit
6fffdf7f
authored
Jan 31, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove dev-server config from development environment
parent
5fcbe127
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
config/environments/development.rb
config/environments/development.rb
+0
-7
No files found.
config/environments/development.rb
View file @
6fffdf7f
Rails
.
application
.
configure
do
Rails
.
application
.
configure
do
WEBPACK_DEV_PORT
=
`cat ../webpack_port 2>/dev/null || echo '3808'`
.
to_i
# Settings specified here will take precedence over those in config/application.rb
# Settings specified here will take precedence over those in config/application.rb
# In the development environment your application's code is reloaded on
# In the development environment your application's code is reloaded on
...
@@ -24,11 +22,6 @@ Rails.application.configure do
...
@@ -24,11 +22,6 @@ Rails.application.configure do
# Only use best-standards-support built into browsers
# Only use best-standards-support built into browsers
config
.
action_dispatch
.
best_standards_support
=
:builtin
config
.
action_dispatch
.
best_standards_support
=
:builtin
# Enable webpack dev server
config
.
webpack
.
dev_server
.
enabled
=
true
config
.
webpack
.
dev_server
.
port
=
WEBPACK_DEV_PORT
config
.
webpack
.
dev_server
.
manifest_port
=
WEBPACK_DEV_PORT
# Do not compress assets
# Do not compress assets
config
.
assets
.
compress
=
false
config
.
assets
.
compress
=
false
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment