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

Commit 19c1a96

Browse files
committed
use relative_url (empty string) for ebookConfig.host
1 parent 80da002 commit 19c1a96

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
@@ -238,8 +238,7 @@
238238
{% if dynamic_pages == 'True' %}
239239
{% raw %}
240240
eBookConfig.useRunestoneServices = true;
241-
eBookConfig.host = '{{= "{}://{}".format(request.env.wsgi_url_scheme,
242-
request.env.http_host) }}';
241+
eBookConfig.host = '';
243242
eBookConfig.app = eBookConfig.host + '/' + '{{= request.application }}';
244243
eBookConfig.course = '{{= course_name }}';
245244
eBookConfig.basecourse = '{{= base_course }}';

0 commit comments

Comments
 (0)