mirror of
https://github.com/Garmelon/Arbeitszeitdokumentationsgenerator.git
synced 2026-04-12 16:55:04 +02:00
Use relative links
This commit is contained in:
parent
b73efa7b28
commit
9e18b8940f
5 changed files with 5 additions and 5 deletions
|
|
@ -29,7 +29,7 @@ submit.addEventListener("click", async () => {
|
|||
try {
|
||||
showStatus("Generiere...");
|
||||
|
||||
const response = await fetch("/", {
|
||||
const response = await fetch(".", {
|
||||
method: "post",
|
||||
body: new URLSearchParams(data),
|
||||
});
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ pub async fn get() -> Markup {
|
|||
"Want to use "
|
||||
a href="https://github.com/kit-sdq/TimeSheetGenerator" { "TimeSheetGenerator" }
|
||||
"-compatible JSON instead? "
|
||||
a href="/tsg" { "Go here!" }
|
||||
a href="tsg/" { "Go here!" }
|
||||
}
|
||||
|
||||
div #header {
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ submit.addEventListener("click", async () => {
|
|||
try {
|
||||
showStatus("Generiere...");
|
||||
|
||||
const response = await fetch("/tsg", {
|
||||
const response = await fetch(".", {
|
||||
method: "post",
|
||||
headers: { "Content-Type": "application/json" },
|
||||
body: dataJson,
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ pub async fn get() -> Markup {
|
|||
|
||||
p {
|
||||
"Want to use a fancy-looking form instead? "
|
||||
a href="/" { "Go here!" }
|
||||
a href=".." { "Go here!" }
|
||||
}
|
||||
|
||||
textarea name="global" placeholder="Global.json" {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue