File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ function checkLoginResponse(response) {
12
12
13
13
14
14
async function loginUser ( credentials ) {
15
- return fetch ( 'http://localhost:5000 /api/user/login' , {
15
+ return fetch ( '/api/user/login' , {
16
16
method : 'POST' ,
17
17
headers : {
18
18
'Content-Type' : 'application/json'
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ export default async function Refresh(old_token) {
2
2
3
3
// Use exisiting token to get a new fresh token
4
4
5
- const new_at = await fetch ( 'http://localhost:5000 /api/user/refresh' ,
5
+ const new_at = await fetch ( '/api/user/refresh' ,
6
6
{
7
7
method : 'GET' ,
8
8
headers : {
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ export default function Check({access_token}) {
35
35
36
36
function authCheck ( ) {
37
37
// console.log('authCheck startfetch @ ' + DateTime.local().toFormat('HH:mm:ss.SSS'))
38
- fetch ( 'http://localhost:5000 /api/user/test_auth' ,
38
+ fetch ( '/api/user/test_auth' ,
39
39
{
40
40
method : 'GET' ,
41
41
headers : {
You can’t perform that action at this time.
0 commit comments