Skip to content

Commit a4c9294

Browse files
committed
oh it's trying to use relative
1 parent 6a2cc54 commit a4c9294

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/_extensions/pwa_service.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ def get_files_to_cache(outDir: str, config: Dict[str, Any]):
4848
# Grab root url from canonical url
4949
url = parse_result.netloc
5050

51-
# enables RTD multilanguage support
51+
# enables RTD multilanguage support
5252
if os.getenv("READTHEDOCS"):
53-
url = url + "/" + os.getenv("READTHEDOCS_LANGUAGE") + "/" + os.getenv("READTHEDOCS_VERSION") + "/"
53+
url = "https://" + url + "/" + os.getenv("READTHEDOCS_LANGUAGE") + "/" + os.getenv("READTHEDOCS_VERSION") + "/"
5454

5555
if config["html_baseurl"] is None and not os.getenv("CI"):
5656
logger.warning(

0 commit comments

Comments
 (0)