Skip to content

Commit

Permalink
Merge pull request #277 from aopell/develop
Browse files Browse the repository at this point in the history
Version 7.3.6
  • Loading branch information
aopell authored Mar 3, 2022
2 parents f4b9475 + c1156ea commit 14f52bf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions js/preload.js
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ async function getApiKeysDirect() {
let userId = getUserId();
var apiKeys = null;
Logger.log(`Fetching API key for user ${userId}`);
let html = await (await fetch(`https://${Setting.getValue("defaultDomain")}/api`, { credentials: "same-origin" })).text();
let html = await (await fetch(`https://${Setting.getValue("defaultDomain")}/api/`, { credentials: "same-origin" })).text();
let docParser = new DOMParser();
let doc = docParser.parseFromString(html, "text/html");

Expand All @@ -362,7 +362,7 @@ async function getApiKeysDirect() {
} else {
Logger.log("API key not found - generating and trying again");
let submitData = new FormData(doc.getElementById("s-api-register-form"));
let generateFetch = await fetch(`https://${Setting.getValue("defaultDomain")}/api`, {
let generateFetch = await fetch(`https://${Setting.getValue("defaultDomain")}/api/`, {
credentials: "same-origin",
body: submitData,
method: "post"
Expand Down
7 changes: 4 additions & 3 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@
"short_name": "Schoology+",
"description": "Schoology Plus enhances your Schoology experience with numerous interface improvements",
"homepage_url": "https://schoologypl.us?utm_source=ext-homepage-link",
"applications": {
"browser_specific_settings": {
"gecko": {
"id": "[email protected]"
"id": "[email protected]",
"update_url": "https://schoologypl.us/firefox_updates.json"
}
},
"version": "7.3.5",
"version": "7.3.6",
"icons": {
"128": "imgs/[email protected]",
"64": "imgs/[email protected]",
Expand Down

0 comments on commit 14f52bf

Please sign in to comment.