mirror of
https://github.com/nkoehring/250kb-club.git
synced 2025-04-19 13:49:04 +02:00
finally fix the metrics urls
This commit is contained in:
parent
78f40f3963
commit
0fd35c8364
1 changed files with 3 additions and 4 deletions
|
@ -1,9 +1,8 @@
|
||||||
import { retryFetch } from "./toolkit.ts";
|
import { retryFetch } from "./toolkit.ts";
|
||||||
|
|
||||||
const STATUS_URL = "http://ylt:8383/api/runs/";
|
const HOST = Deno.env.get("CI") ? "http://ylt:8383" : "http://localhost:8383";
|
||||||
const RESULT_URL = "http://ylt:8383/api/results/";
|
const STATUS_URL = `${HOST}/api/runs/`;
|
||||||
// const STATUS_URL = "http://localhost:8383/api/runs/";
|
const RESULT_URL = `${HOST}/api/results/`;
|
||||||
// const RESULT_URL = "http://localhost:8383/api/results/";
|
|
||||||
const METRIC_DEFAULTS = {
|
const METRIC_DEFAULTS = {
|
||||||
device: "desktop",
|
device: "desktop",
|
||||||
waitForResponse: false,
|
waitForResponse: false,
|
||||||
|
|
Loading…
Add table
Reference in a new issue