diff src/lib/Shared.luan @ 6:d59ae3e468f1

login work
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 23 Oct 2023 21:09:05 -0600
parents aa1920665f98
children 9534dd5eda89
line wrap: on
line diff
--- a/src/lib/Shared.luan	Mon Oct 23 00:43:41 2023 -0600
+++ b/src/lib/Shared.luan	Mon Oct 23 21:09:05 2023 -0600
@@ -46,4 +46,9 @@
 <%
 end
 
+function Shared.discord_redirect_uri()
+	local request = Http.request
+	return request.scheme.."://"..request.headers["Host"].."/login2.red"
+end
+
 return Shared