parent
faf19d9e43
commit
747c1d2a90
|
@ -182,4 +182,5 @@ docs/_book
|
|||
test/
|
||||
|
||||
/package-lock.json
|
||||
/yarn.lock
|
||||
/yarn.lock
|
||||
/public/env.js
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
<body class="dark:bg-gray-900 text-black dark:text-white p-0">
|
||||
<div id="app"></div>
|
||||
<script src="/env.js"></script>
|
||||
<script type="module" src="/src/main.js"></script>
|
||||
</body>
|
||||
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
const config = {
|
||||
documentserver_key: '',
|
||||
baseurl: '',
|
||||
url_imprint: '',
|
||||
url_privacy: ''
|
||||
};
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue