Skip to content

Commit

Permalink
FIX MangaTown : 🤦‍♂️
Browse files Browse the repository at this point in the history
no comment
  • Loading branch information
MikeZeDev authored Aug 27, 2023
1 parent 50fb293 commit 9b35d94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/web/mjs/connectors/MangaTown.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export default class MangaTown extends Connector {

async _handleConnectorURI(payload) {
const pageData = await this.fetchDOM(new Request(payload, this.requestOptions), 'source#image');
const imageURL = this.getAbsolutePath(pageData[0].src, 'https//mangahere.com').replace('hakuneko://', 'https://');
const imageURL = this.getAbsolutePath(pageData[0].src, 'https://mangahere.com').replace('hakuneko://', 'https://');
const request = new Request(imageURL, this.requestOptions);
request.headers.set('x-referer', 'mangahere.com');
const response = await fetch(request);
Expand Down

0 comments on commit 9b35d94

Please sign in to comment.