mirror of
https://github.com/Noratrieb/cargo-bisect-rustc-service.git
synced 2026-01-14 16:25:01 +01:00
Fix stupid url path thing
@danielhenrymantilla for you
This commit is contained in:
parent
80c6b2a8a2
commit
5d3b9c99d0
1 changed files with 7 additions and 1 deletions
|
|
@ -85,7 +85,13 @@ impl<T> Struct<T> {
|
|||
></textarea>
|
||||
|
||||
<script>
|
||||
const BASE_URL = `${document.location}`;
|
||||
let BASE_URL = `${document.location}`;
|
||||
if (!BASE_URL.endsWith("/")) {
|
||||
// ugh, i hate url paths and their subtle interactions with things
|
||||
BASE_URL = `${BASE_URL}/`;
|
||||
}
|
||||
|
||||
|
||||
const htmlStatus = document.getElementById("status");
|
||||
const htmlResult = document.getElementById("result");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue