Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Commit 9a08b64

Browse files
authored
Merge pull request #894 from presnick/pr2
use relative_url (empty string) for ebookConfig.host
2 parents 52e613b + 19c1a96 commit 9a08b64

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • runestone/common/project_template/_templates/plugin_layouts/sphinx_bootstrap

runestone/common/project_template/_templates/plugin_layouts/sphinx_bootstrap/layout.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,8 +249,7 @@
249249
{% if dynamic_pages == 'True' %}
250250
{% raw %}
251251
eBookConfig.useRunestoneServices = true;
252-
eBookConfig.host = '{{= "{}://{}".format(request.env.wsgi_url_scheme,
253-
request.env.http_host) }}';
252+
eBookConfig.host = '';
254253
eBookConfig.app = eBookConfig.host + '/' + '{{= request.application }}';
255254
eBookConfig.course = '{{= course_name }}';
256255
eBookConfig.basecourse = '{{= base_course }}';

0 commit comments

Comments
 (0)