diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml
new file mode 100644
index 0000000..769b5c9
--- /dev/null
+++ b/.github/FUNDING.yml
@@ -0,0 +1,12 @@
+# These are supported funding model platforms
+
+github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
+patreon: thelmgn # Replace with a single Patreon username
+open_collective: # Replace with a single Open Collective username
+ko_fi: # Replace with a single Ko-fi username
+tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
+community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
+liberapay: # Replace with a single Liberapay username
+issuehunt: # Replace with a single IssueHunt username
+otechie: # Replace with a single Otechie username
+custom: https://paypal.me/thelmgn # Replace with a single custom sponsorship URL
diff --git a/http/staticFiles/dash/apikey.html b/http/staticFiles/dash/apikey.html
index 1fcc054..ee2d7a1 100644
--- a/http/staticFiles/dash/apikey.html
+++ b/http/staticFiles/dash/apikey.html
@@ -78,7 +78,7 @@
Anyone with this API key can control this server as they wi
"Name": "Ultrashare - Files",
"DestinationType": "ImageUploader, FileUploader",
"RequestMethod": "POST",
- "RequestURL": location.origin + "/api/upload",
+ "RequestURL": localStorage.getItem("apikey").replace(/\$/g,"\\$"),
"Headers": {
"Authorization": localStorage.getItem("apikey"),
"fileext": "$filename$"
@@ -91,9 +91,9 @@ Anyone with this API key can control this server as they wi
"Name": "Ultrashare - Shorten",
"DestinationType": "URLShortener",
"RequestMethod": "POST",
- "RequestURL": location.origin + "api/Shorten",
+ "RequestURL": location.origin + "api/shorten",
"Headers": {
- "Authorization": localStorage.getItem("apikey"),
+ "Authorization": localStorage.getItem("apikey").replace(/\$/g,"\\$"),
},
"Body": "JSON",
"Data": "$input$",
@@ -106,7 +106,7 @@ Anyone with this API key can control this server as they wi
"RequestMethod": "POST",
"RequestURL": location.origin + "/api/upload",
"Headers": {
- "Authorization": localStorage.getItem("apikey"),
+ "Authorization": localStorage.getItem("apikey").replace(/\$/g,"\\$"),
"fileext": "paste"
},
"Body": "JSON",
@@ -136,4 +136,4 @@ Anyone with this API key can control this server as they wi