Browse Source

Docs: PING_URL substitution got lost during refactoring, adding it back

pull/358/head
Pēteris Caune 5 years ago
parent
commit
abebdca527
No known key found for this signature in database GPG Key ID: E28D7679E9A9EDE2
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      hc/front/views.py

+ 1
- 0
hc/front/views.py View File

@ -282,6 +282,7 @@ def serve_doc(request, doc="introduction"):
"SITE_NAME": settings.SITE_NAME, "SITE_NAME": settings.SITE_NAME,
"SITE_ROOT": settings.SITE_ROOT, "SITE_ROOT": settings.SITE_ROOT,
"PING_ENDPOINT": settings.PING_ENDPOINT, "PING_ENDPOINT": settings.PING_ENDPOINT,
"PING_URL": settings.PING_ENDPOINT + "your-uuid-here",
"IMG_URL": os.path.join(settings.STATIC_URL, "img/docs"), "IMG_URL": os.path.join(settings.STATIC_URL, "img/docs"),
} }


Loading…
Cancel
Save