From 7cf79056942ceb08438874f42db0a1ea6ae24253 Mon Sep 17 00:00:00 2001 From: xbgmsharp Date: Fri, 3 Mar 2023 08:35:08 +0100 Subject: [PATCH] Update pushover link to work in prod env --- initdb/02_5_signalk_auth_otp.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/initdb/02_5_signalk_auth_otp.sql b/initdb/02_5_signalk_auth_otp.sql index 19cec95..769e5c6 100644 --- a/initdb/02_5_signalk_auth_otp.sql +++ b/initdb/02_5_signalk_auth_otp.sql @@ -279,7 +279,7 @@ AS $pushover_subscribe_link$ -- On sucess redirect to API endpoint SELECT CONCAT( '?success=', - public.urlescape_py_fn(CONCAT(app_url,'/rpc/pushover_fn?token=')), + public.urlescape_py_fn(CONCAT(app_url,'/pushover?token=')), otp_code) INTO success; -- On failure redirect to user settings, where he does come from