From fa74e548931962a9746e2dfffbb4f360131a872f Mon Sep 17 00:00:00 2001 From: Narice Date: Tue, 2 Jun 2020 00:43:30 +0200 Subject: [PATCH] Changed address so that it works on heroku --- elm.js | 2 +- src/Main.elm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/elm.js b/elm.js index ebfd43a..00af91d 100644 --- a/elm.js +++ b/elm.js @@ -9027,7 +9027,7 @@ var $author$project$Page$Patients$init = function (session) { }; var $elm$browser$Browser$Navigation$load = _Browser_load; var $elm$core$Debug$log = _Debug_log; -var $author$project$Main$loginUrl = 'https://psy-app.eu.auth0.com/' + ('login?client=rcd2TG98zW4rEN4mq3PgxEe3hMQfPDWf' + ('&protocol=oauth2' + ('&response_type=token%20id_token' + ('&redirect_uri=http://localhost:8000' + '&scope=openid%20profile')))); +var $author$project$Main$loginUrl = 'https://psy-app.eu.auth0.com/' + ('login?client=rcd2TG98zW4rEN4mq3PgxEe3hMQfPDWf' + ('&protocol=oauth2' + ('&response_type=token%20id_token' + ('&redirect_uri=https://elm-psy-app.herokuapp.com' + '&scope=openid%20profile')))); var $elm$core$Maybe$destruct = F3( function (_default, func, maybe) { if (maybe.$ === 'Just') { diff --git a/src/Main.elm b/src/Main.elm index 5b205e0..bf59820 100644 --- a/src/Main.elm +++ b/src/Main.elm @@ -162,7 +162,7 @@ loginUrl = ++ "login?client=rcd2TG98zW4rEN4mq3PgxEe3hMQfPDWf" ++ "&protocol=oauth2" ++ "&response_type=token%20id_token" - ++ "&redirect_uri=http://localhost:8000" + ++ "&redirect_uri=https://elm-psy-app.herokuapp.com" ++ "&scope=openid%20profile"