basic env.js file for api baseurl, documentserver_key

ref #3
This commit is contained in:
2021-03-03 18:20:53 +01:00
parent faf19d9e43
commit 747c1d2a90
4 changed files with 10 additions and 2 deletions

View File

@@ -254,7 +254,7 @@ function login() {
}
}
toast("registration in progress...");
axios.post('https://dev.lauf-fuer-kaya.de/api/runners/register', postdata)
axios.post(`${config.baseurl}api/runners/register`, postdata)
.then((response) => {
response = response.data;
const token = response.token;