diff --git a/Website/apiConnector.js b/Website/apiConnector.js index aa5f40a..9bf7d7d 100644 --- a/Website/apiConnector.js +++ b/Website/apiConnector.js @@ -1,4 +1,6 @@ -let apiUri = `${window.location.protocol}//${window.location.host}/api` +//let apiUri = `${window.location.protocol}//${window.location.host}/api` + +let apiUri = `http://192.168.1.79:6531`; // if(getCookie("apiUri") != ""){ // apiUri = getCookie("apiUri"); @@ -150,9 +152,10 @@ async function GetRateLimits() { return json; } -function CreateMonitorJob(connector, internalId, language){ - var uri = `${apiUri}/Jobs/MonitorManga?connector=${connector}&internalId=${internalId}&interval=03:00:00&translatedLanguage=${language}`; - PostData(uri); +function CreateMonitorJob(connector, internalId, language, interval, folder, chapterNo){ + var uri = `${apiUri}/Jobs/MonitorManga?connector=${connector}&internalId=${internalId}&interval=${interval}&translatedLanguage=${language}&ignoreBelowChapterNum=${chapterNo}&customFolderName=${folder}`; + //console.log(uri); + PostData(uri); } function CreateDownloadNewChaptersJob(connector, internalId, language){ diff --git a/Website/index.html b/Website/index.html index c5ea14a..9df5fba 100644 --- a/Website/index.html +++ b/Website/index.html @@ -68,16 +68,27 @@ -
- - -
-
+ + + Search + × + + +
+
+
+
+ + +
+
+
+
@@ -294,6 +305,7 @@ +