Commit 8e81cad6 authored by echel0n's avatar echel0n

Refactored code for API builder to display full URL.

parent eff3ee9c
# Changelog
- * 179ed9a - 2018-11-17: Fixed freebsd init script, runs as sickrage user
- * b21c682 - 2018-11-18: Refactored code for API builder to display full URL.
- * eff3ee9 - 2018-11-17: Fixed freebsd init script, runs as sickrage user
- * 0aa52f3 - 2018-11-17: Release v9.4.38
- * ee79b9e - 2018-11-17: Release v9.4.37
- * 3c599a2 - 2018-11-17: Release v9.4.36
......
......@@ -88,8 +88,7 @@
<div class="col-md-12">
<h4>${_('Playground')}</h4>
<span>
${_('URL:')} <kbd id="command-${command_id}-base-url">${srWebRoot}
/api/${apikey}/?cmd=${command}</kbd>
${_('URL:')} <kbd id="command-${command_id}-base-url">${request.protocol}://${request.host}${srWebRoot}/api/${apikey}/?cmd=${command}</kbd>
</span>
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment