From 5b6e6748b4b900a6c42022474aeb9417263e465e Mon Sep 17 00:00:00 2001 From: Teo Koon Peng Date: Mon, 1 Jul 2024 05:22:43 +0000 Subject: [PATCH] fix base_url Signed-off-by: Teo Koon Peng --- packages/api-server/scripts/extract_docs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/api-server/scripts/extract_docs.py b/packages/api-server/scripts/extract_docs.py index bf02a33e3..00f1c0224 100644 --- a/packages/api-server/scripts/extract_docs.py +++ b/packages/api-server/scripts/extract_docs.py @@ -34,7 +34,7 @@ def cleanup(): outdir = f"{args.output}" os.makedirs(outdir, exist_ok=True) -base_url = "http://localhost:8000/rmf-web" +base_url = "http://localhost:8000" with urlopen(f"{base_url}/docs") as resp: html: bytes = resp.read() with open(f"{outdir}/index.html", "bw") as f: