Remove config_server_url setting.

This commit is contained in:
Michael Shavit
2019-12-20 01:02:49 -05:00
parent 27d084ce39
commit 207004beff
4 changed files with 1 additions and 9 deletions
+1 -1
View File
@@ -388,7 +388,7 @@ def HandleAuthRequest():
@kobo.route("/v1/initialization")
def HandleInitRequest():
resources = NATIVE_KOBO_RESOURCES(calibre_web_url=config.config_server_url)
resources = NATIVE_KOBO_RESOURCES(calibre_web_url=url_for("web.index", _external=True).strip("/"))
response = make_response(jsonify({"Resources": resources}))
response.headers["x-kobo-apitoken"] = "e30="
return response