summaryrefslogtreecommitdiff
path: root/src/scripts/splash.entry.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/scripts/splash.entry.ts')
-rw-r--r--src/scripts/splash.entry.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scripts/splash.entry.ts b/src/scripts/splash.entry.ts
index 700f52bb..6abd9518 100644
--- a/src/scripts/splash.entry.ts
+++ b/src/scripts/splash.entry.ts
@@ -119,7 +119,7 @@ window["renderButton"] = () => {
// Calculate token expiration time (in seconds since epoch)
const expirationTime = (new Date()).getTime() / 1000 + googleUser.getAuthResponse().expires_in - 5;
- $.post('https://opendc.ewi.tudelft.nl/tokensignin', {
+ $.post('SERVER_BASE_URL/tokensignin', {
idtoken: id_token
}, (data: any) => {
// Save user information in session storage for later use on other pages
@@ -146,7 +146,7 @@ window["renderButton"] = () => {
});
},
'onfailure': () => {
- console.log("Oops, something went wrong with your Google signin... Try again?")
+ console.log("Oops, something went wrong with your Google signin... Try again?");
}
});
};