Skip to content

Commit

Permalink
URLPREFIX fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
proycon committed Mar 19, 2018
1 parent e42d10b commit 01224a9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions clam/clamservice.py
Original file line number Diff line number Diff line change
Expand Up @@ -2877,6 +2877,9 @@ def run_wsgi(settings_module):
set_defaults() #host, port
test_dirs()

if settings.URLPREFIX:
settings.STANDALONEURLPREFIX = settings.URLPREFIX

if DEBUG:
from werkzeug.debug import DebuggedApplication
return DebuggedApplication(CLAMService('wsgi').service.wsgi_app, True)
Expand Down

0 comments on commit 01224a9

Please sign in to comment.