mirror of
https://github.com/HackPlan/node-iap.git
synced 2026-06-14 08:59:15 +08:00
config domains
This commit is contained in:
@@ -8,7 +8,7 @@ module.exports = function (requestUrl, options, data, cb) {
|
||||
var parsedUrl = url.parse(requestUrl);
|
||||
|
||||
if (parsedUrl.hostname) {
|
||||
options.hostname = parsedUrl.hostname;
|
||||
options.hostname = config.getDomain(parsedUrl.hostname);
|
||||
}
|
||||
|
||||
if (parsedUrl.port) {
|
||||
|
||||
Reference in New Issue
Block a user