From cfc0d34a584254a9ed76620951c810771aff6f3b Mon Sep 17 00:00:00 2001 From: Alexander Hunt Date: Sun, 21 Jun 2026 12:43:31 -0700 Subject: STUFF --- templates/portal.html | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) (limited to 'templates/portal.html') diff --git a/templates/portal.html b/templates/portal.html index a2959f1..5ab5192 100644 --- a/templates/portal.html +++ b/templates/portal.html @@ -1,5 +1,5 @@ {{ define "content" }} -

welcome to ~penguins.lan

+

welcome to penguins.lan, penguin! by joining, you promise to be a good penguin <3

{{ with .Portal }} {{ if .Taken }} @@ -37,7 +37,7 @@ return keys.every(key => !obj[key]); } const send = async () => { - await fetch(paramsObject['_authaction'] + '?tok' + paramsObject['_token'], { + await fetch(paramsObject['_authaction'] + '?tok=' + paramsObject['_token'], { mode: "no-cors" }); const data = new FormData(form); @@ -50,17 +50,5 @@ e.preventDefault(); send().then(() => { window.location.href = "/"; }); }) - - } - function getQueryVariable(variable) { - query = window.location.search.substring(1); - vars = query.split("&"); - for (var i=0;i \ No newline at end of file + -- cgit v1.3