aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(static)/support
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-03-03 22:45:50 -0800
committerAdam Soltys <[email protected]>2026-03-03 22:45:50 -0800
commit1e9ed8fa128ec5ae038be14ef168cad37c1c0eb1 (patch)
tree29399a82df3f981a24ef6cc84562c8ee006738d7 /src/routes/(static)/support
parente66a08d18f2bef2eccfe84042a2674141a73d1c2 (diff)
downloadcoinos-ui-1e9ed8fa128ec5ae038be14ef168cad37c1c0eb1.tar.gz
coinos-ui-1e9ed8fa128ec5ae038be14ef168cad37c1c0eb1.zip
api proxy
Diffstat (limited to 'src/routes/(static)/support')
-rw-r--r--src/routes/(static)/support/+page.svelte4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/routes/(static)/support/+page.svelte b/src/routes/(static)/support/+page.svelte
index 3a9b011f..6af80f86 100644
--- a/src/routes/(static)/support/+page.svelte
+++ b/src/routes/(static)/support/+page.svelte
@@ -31,7 +31,7 @@
let submit = (e: any) => {
e.preventDefault();
if (isTor) {
- post("/post/email", {
+ post("/api/email", {
username: user?.username || `${username} (unverified)`,
email,
message,
@@ -43,7 +43,7 @@
}
grecaptcha.ready(() => {
grecaptcha.execute(recaptchaSiteKey, { action: "submit" }).then((token) =>
- post("/post/email", {
+ post("/api/email", {
username: user?.username || `${username} (unverified)`,
email,
message,