Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Commit 9ab79d1

Browse files
committed
api still broken
1 parent 349332a commit 9ab79d1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

webapp_frontend/src/background/api/registration.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const registerNewUser = (username: string, password: string, passwordConf
2424
}
2525
};
2626

27-
return Axios.get(hostname + username + "/register", config)
27+
return Axios.get(hostname +'/users' + "/register", config)
2828
.then((data:AxiosResponse<object>) => {
2929
console.log(data.status + ": " + data.statusText);
3030
alert(data.status + ": " + data.statusText);
@@ -36,4 +36,4 @@ export const registerNewUser = (username: string, password: string, passwordConf
3636
reject(error);
3737
})
3838
})
39-
}
39+
}

webapp_frontend/src/style/custom.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,5 @@ $blue: #1a4965;
2525
@import "~bootstrap/scss/forms";
2626
@import "~bootstrap/scss/forms";
2727
@import "~bootstrap/scss/spinners";
28+
@import "~bootstrap/scss/alert";
2829

0 commit comments

Comments
 (0)