Added auth for private servers #7

Merged
Philipp merged 30 commits from added-local-auth into main 2023-11-26 22:24:20 +01:00
Showing only changes of commit 1b1254c57a - Show all commits

View File

@ -124,7 +124,7 @@ async function postCode() {
response = await Promise.resolve() response = await Promise.resolve()
.then(() => api.auth(username, password, login_arguments)) .then(() => api.auth(username, password, login_arguments))
.then(() => { .then(() => {
api.code.set(branch, files_to_push); return api.code.set(branch, files_to_push);
}) })
.then((result) => { .then((result) => {
response = result; response = result;