fix(route): nhentai (#12566)
This commit is contained in:
parent
4e2c3efe2d
commit
d1a11a40b4
|
|
@ -64,7 +64,8 @@ const getCookie = async (username, password, cache) => {
|
|||
};
|
||||
|
||||
const gotByIp = (url, ...options) =>
|
||||
got(url.replace(/^https:\/\/nhentai.net\//, 'http://138.2.77.198:3002/'), {
|
||||
// credit: https://github.com/sinkaroid/jandapress/pull/23
|
||||
got(url.replace(/^https:\/\/nhentai.net\//, 'http://129.150.63.211:3002/'), {
|
||||
...options,
|
||||
headers: {
|
||||
host: 'nhentai.net',
|
||||
|
|
|
|||
Loading…
Reference in New Issue