Skip to content

Commit

Permalink
Merge pull request #69 from Chankster/dognzb
Browse files Browse the repository at this point in the history
DogNZB - Add dl subdomain to fetch url
  • Loading branch information
clutterskull authored Sep 14, 2022
2 parents 7a70984 + 1e0e8b2 commit 292cbcc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nzbunity",
"version": "1.17.0",
"version": "1.17.1",
"license": "MPL-2.0",
"description": "Send and control NZB files directly with SABnzbd or NZBGet download clients.",
"author": "[email protected]",
Expand Down
2 changes: 1 addition & 1 deletion src/content/sites/dognzb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class NZBUnityDognzb {

getNzbUrl(id:string):string {
let rsstoken:string = <string> $('input[name="rsstoken" i]').val();
return `${window.location.origin}/fetch/${id}/${rsstoken}`;
return `${window.location.protocol}//dl.${window.location.host}/fetch/${id}/${rsstoken}`;
}

initializeLinks() {
Expand Down
2 changes: 1 addition & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "NZB Unity",
"version": "1.17.0",
"version": "1.17.1",
"author": "[email protected]",
"description": "Send and control NZB files directly with SABnzbd or NZBGet download clients.",
"background": {
Expand Down

0 comments on commit 292cbcc

Please sign in to comment.