fix(route): nhentai (#12566)
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user