Rename global variables
This commit is contained in:
Vendored
+2
-2
@@ -6,8 +6,8 @@ export default function grabAppPort() {
|
||||
if (process.env.PORT) {
|
||||
return numberfy(process.env.PORT);
|
||||
}
|
||||
if (global.CONFIG.port) {
|
||||
return global.CONFIG.port;
|
||||
if (global.BUNEXT_CONFIG.port) {
|
||||
return global.BUNEXT_CONFIG.port;
|
||||
}
|
||||
return numberfy(defaultPort);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user