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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
7d9e9379
Commit
7d9e9379
authored
Dec 19, 2019
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mention workhorse depended routing
parent
f588407e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
config/routes/project.rb
config/routes/project.rb
+4
-0
No files found.
config/routes/project.rb
View file @
7d9e9379
...
...
@@ -58,6 +58,8 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
get
:trace
,
defaults:
{
format:
'json'
}
get
:raw
get
:terminal
# This route is also defined in gitlab-workhorse. Make sure to update accordingly.
get
'/terminal.ws/authorize'
,
to:
'jobs#terminal_websocket_authorize'
,
format:
false
end
...
...
@@ -235,6 +237,8 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
get
:metrics
get
:additional_metrics
get
:metrics_dashboard
# This route is also defined in gitlab-workhorse. Make sure to update accordingly.
get
'/terminal.ws/authorize'
,
to:
'environments#terminal_websocket_authorize'
,
format:
false
get
'/prometheus/api/v1/*proxy_path'
,
to:
'environments/prometheus_api#proxy'
,
as: :prometheus_api
...
...
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