1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2026-02-13 05:29:49 +00:00

Merge branch 'master' of github.com:Jermolene/TiddlyWiki5

This commit is contained in:
jeremy@jermolene.com
2020-09-14 13:20:06 +01:00

View File

@@ -31,7 +31,7 @@ GiteaSaver.prototype.save = function(text,method,callback) {
headers = {
"Accept": "application/json",
"Content-Type": "application/json;charset=UTF-8",
"Authorization": "Basic " + window.btoa(username + ":" + password)
"Authorization": "token " + password
};
// Bail if we don't have everything we need
if(!username || !password || !repo || !filename) {