Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
feudal
feudalBackend
Commits
a8c6c9e1
Commit
a8c6c9e1
authored
Jan 16, 2020
by
Lukas Burgey
Browse files
Remove unwanted trailing slashes from some urls
parent
0d89428d
Changes
2
Hide whitespace changes
Inline
Side-by-side
feudal/backend/views/clients.py
View file @
a8c6c9e1
...
...
@@ -222,9 +222,9 @@ def response_view_error(err):
URLPATTERNS
=
[
path
(
'dep-state
/
'
,
DeploymentStateView
.
as_view
()),
path
(
'dep-states
/
'
,
DeploymentStateListView
.
as_view
()),
path
(
'dep-state'
,
DeploymentStateView
.
as_view
()),
path
(
'dep-states'
,
DeploymentStateListView
.
as_view
()),
path
(
'config
/
'
,
ConfigurationView
.
as_view
()),
path
(
'deregister
/
'
,
DeregisterView
.
as_view
()),
path
(
'config'
,
ConfigurationView
.
as_view
()),
path
(
'deregister'
,
DeregisterView
.
as_view
()),
]
feudal/backend/views/webpage.py
View file @
a8c6c9e1
...
...
@@ -38,5 +38,5 @@ class StateView(generics.RetrieveAPIView):
URLPATTERNS
=
[
path
(
'state
/
'
,
StateView
.
as_view
()),
path
(
'state'
,
StateView
.
as_view
()),
]
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