Move paths to /game
This commit is contained in:
parent
8458a5b66f
commit
d31ae47cde
@ -33,9 +33,9 @@
|
||||
In the former case: Yay it works! In the latter you should
|
||||
probably contact an admin or a dev nearby :(<br><br>
|
||||
Here are a few links for testing:<br>
|
||||
<a href="/view">View Data</a>,
|
||||
<a href="/QRgen">Door Sign Generator</a>,
|
||||
<a href="/?game=schnitzeljagd&checkpoint=42">Test Checkpoint</a>,
|
||||
<a href="/game/view">View Data</a>,
|
||||
<a href="/game/QRgen">Door Sign Generator</a>,
|
||||
<a href="/game/?game=schnitzeljagd&checkpoint=42">Test Checkpoint</a>,
|
||||
<br><br>
|
||||
© 2025 made by <a target="_blank" href="mailto:o.winkels@fasttube.de">Oskar</a>
|
||||
for <a target="_blank" href="//fasttube.de">FaSTTUBe</a>.<br>
|
||||
|
@ -51,7 +51,7 @@ function sendMainData() {
|
||||
'name': name
|
||||
}
|
||||
|
||||
post("/checkin", payload)
|
||||
post("/game/checkin", payload)
|
||||
|
||||
}
|
||||
|
||||
|
@ -236,7 +236,7 @@ function loadData() {
|
||||
headers: headers
|
||||
}
|
||||
|
||||
fetch('/data', fetchopts)
|
||||
fetch('/game/data', fetchopts)
|
||||
.then(res => {
|
||||
if (Math.floor(res.status / 100) == 2)
|
||||
return res.json()
|
||||
|
Loading…
x
Reference in New Issue
Block a user