1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-11-24 19:24:50 +00:00

GitHub Saver: Fix ServerURL name

This commit is contained in:
Jermolene
2019-04-16 10:15:58 +01:00
parent 25c0ebb523
commit 0a5c826816
3 changed files with 3 additions and 3 deletions

View File

@@ -29,7 +29,7 @@ GitHubSaver.prototype.save = function(text,method,callback) {
path = this.wiki.getTiddlerText("$:/GitHub/Path"),
filename = this.wiki.getTiddlerText("$:/GitHub/Filename"),
branch = this.wiki.getTiddlerText("$:/GitHub/Branch") || "master",
endpoint = this.wiki.getTiddlerText("$:/GitHub/Url") || "https://api.github.com",
endpoint = this.wiki.getTiddlerText("$:/GitHub/ServerURL") || "https://api.github.com",
headers = {
"Accept": "application/vnd.github.v3+json",
"Content-Type": "application/json;charset=UTF-8",