mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Use urlParse instead of url.parse in meteor-services/config.js.
Looks like this was a neglected find/replace that should've happened in
10e8d7d08d (cc @abernix).
This commit is contained in:
@@ -37,7 +37,7 @@ export function getBuildFarmUrl() {
|
||||
}
|
||||
|
||||
export function getBuildFarmDomain() {
|
||||
return url.parse(getBuildFarmUrl()).host;
|
||||
return urlParse(getBuildFarmUrl()).host;
|
||||
}
|
||||
|
||||
// URL for the DDP interface to the package server, typically
|
||||
@@ -48,7 +48,7 @@ export function getPackageServerUrl() {
|
||||
}
|
||||
|
||||
export function getPackageServerDomain() {
|
||||
return url.parse(getPackageServerUrl()).host;
|
||||
return urlParse(getPackageServerUrl()).host;
|
||||
}
|
||||
|
||||
export function getPackageStatsServerUrl() {
|
||||
@@ -57,7 +57,7 @@ export function getPackageStatsServerUrl() {
|
||||
}
|
||||
|
||||
export function getPackageStatsServerDomain() {
|
||||
return url.parse(getPackageStatsServerUrl()).host;
|
||||
return urlParse(getPackageStatsServerUrl()).host;
|
||||
}
|
||||
|
||||
// Note: this is NOT guaranteed to return a distinct prefix for every
|
||||
|
||||
Reference in New Issue
Block a user