Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
beat
beat.web
Commits
f4727ea7
Commit
f4727ea7
authored
Sep 24, 2020
by
Samuel GAIST
Browse files
[settings][settings] Put back the URL_PREFIX in User absolute URL overload
parent
f7a11d90
Pipeline
#43063
passed with stage
in 15 minutes and 33 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
beat/web/settings/settings.py
View file @
f4727ea7
...
...
@@ -423,7 +423,7 @@ ACTSTREAM_SETTINGS = {
"MANAGER"
:
"beat.web.common.managers.BeatActionManager"
,
}
ABSOLUTE_URL_OVERRIDES
=
{
"auth.user"
:
lambda
u
:
"
/events/
%s/"
%
u
.
username
}
ABSOLUTE_URL_OVERRIDES
=
{
"auth.user"
:
lambda
u
:
f
"
{
URL_PREFIX
}
/events/
{
u
.
username
}
/"
}
SERIALIZATION_MODULES
=
{
"json"
:
"beat.web.utils.activity_stream_serializer"
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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