Skip to content

Commit

Permalink
Use local path for extraction
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Chong <[email protected]>
  • Loading branch information
aaronchongth committed Oct 10, 2024
1 parent 6623e6e commit c690d32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api-server/scripts/extract_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c690d32

Please sign in to comment.