mirror of
https://github.com/aljazceru/CTFd.git
synced 2026-02-07 07:14:30 +01:00
Fixing issue with linking to pages in subdirectory deployments (#550)
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
{% else %}
|
||||
<li class="nav-item">
|
||||
{% if request.script_root %}
|
||||
{% set route = '/' + request.script_root + '/' + page.route %}
|
||||
{% set route = request.script_root + '/' + page.route %}
|
||||
{% else %}
|
||||
{% set route = '/' + page.route %}
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user