Skip to content

Commit 6261f1b

Browse files
committed
Remove URL root switching
1 parent f1861bb commit 6261f1b

File tree

3 files changed

+1
-11
lines changed

3 files changed

+1
-11
lines changed

src/benchmark/server.py

-7
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,6 @@ def serve_benchmark_output(filename):
2020
return response
2121

2222

23-
@app.get("/json-urls-root.js")
24-
def serve_json_urls_root():
25-
"""Override base URL for benchmark_output JSON files for local development."""
26-
response = static_file("json-urls-root.local.js", root=app.config["helm.staticpath"])
27-
return response
28-
29-
3023
@app.get("/")
3124
@app.get("/<filename:path>")
3225
def serve_static(filename="index.html"):
+1-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
// Base URL for benchmark_output JSON files for production
2-
// TODO: Change this
1+
// Base URL for benchmark_output JSON files
32
const BENCHMARK_OUTPUT_BASE_URL = "benchmark_output";

src/benchmark/static/json-urls-root.local.js

-2
This file was deleted.

0 commit comments

Comments
 (0)