Fix spinch deployment
This commit is contained in:
parent
a92ef78133
commit
f4eb4d58b0
13 changed files with 21 additions and 13 deletions
|
|
@ -15,7 +15,7 @@ function submit() {
|
|||
data.append("year", String(year.value));
|
||||
data.append("month", String(month.value));
|
||||
data.append("feed", String(feed.value));
|
||||
void makeRequest("/api/calendar", data);
|
||||
void makeRequest("api/calendar", data);
|
||||
}
|
||||
</script>
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ function submit() {
|
|||
data.append("rows", rows.value.toFixed());
|
||||
data.append("scale", scale.value.toFixed());
|
||||
data.append("feed", String(feed.value));
|
||||
void makeRequest("/api/cells", data);
|
||||
void makeRequest("api/cells", data);
|
||||
}
|
||||
</script>
|
||||
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ function submit() {
|
|||
data.append("username", username.value);
|
||||
data.append("content", content.value);
|
||||
data.append("feed", String(feed.value));
|
||||
void makeRequest("/api/chat", data);
|
||||
void makeRequest("api/chat", data);
|
||||
}
|
||||
</script>
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ function submit() {
|
|||
if (typeof seed.value === "number") data.append("seed", seed.value.toFixed());
|
||||
data.append("mode", mode.value);
|
||||
data.append("feed", String(feed.value));
|
||||
void makeRequest("/api/egg", data);
|
||||
void makeRequest("api/egg", data);
|
||||
}
|
||||
</script>
|
||||
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ function submit() {
|
|||
data.append("bright", String(bright.value));
|
||||
data.append("seamless", String(seamless.value));
|
||||
data.append("feed", String(feed.value));
|
||||
void makeRequest("/api/image", data);
|
||||
void makeRequest("api/image", data);
|
||||
}
|
||||
</script>
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ function submit() {
|
|||
data.append("text", text.value);
|
||||
data.append("force_wrap", String(forceWrap.value));
|
||||
data.append("feed", String(feed.value));
|
||||
void makeRequest("/api/text", data);
|
||||
void makeRequest("api/text", data);
|
||||
}
|
||||
</script>
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ const feed = ref(true);
|
|||
function submit() {
|
||||
const data = new URLSearchParams();
|
||||
data.append("feed", String(feed.value));
|
||||
void makeRequest("/api/tictactoe", data);
|
||||
void makeRequest("api/tictactoe", data);
|
||||
}
|
||||
</script>
|
||||
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ const mode = ref<
|
|||
<button @click="mode = 'image'">Image</button>
|
||||
<button @click="mode = 'text'">Text</button>
|
||||
<button @click="mode = 'tictactoe'">Tic Tac Toe</button>
|
||||
<a href="/photo.html">Take a photo</a>
|
||||
<a href="photo.html">Take a photo</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ import vueDevTools from "vite-plugin-vue-devtools";
|
|||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [vue(), vueDevTools()],
|
||||
base: "",
|
||||
resolve: {
|
||||
alias: { "@": fileURLToPath(new URL("./src", import.meta.url)) },
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue