Skip to content

Commit 9149013

Browse files
committed
Fix double prefix in debug mode
1 parent 11bc564 commit 9149013

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

appyter/profiles/default/filters/url_for.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def url_for(directory, public=False, **kwargs):
2727
raise
2828
except:
2929
url = join_url(config['PREFIX'], url)
30-
else:
30+
elif not config['DEBUG']:
3131
url = join_url(config['PREFIX'], url)
3232

3333
#

0 commit comments

Comments
 (0)