Skip to content

Commit a3cdae2

Browse files
committed
fix: port env
1 parent 2df7655 commit a3cdae2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/setup-app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const rootDir = resolve();
1616
let allResources = null; // This will store the entire resources tree.
1717

1818
const port =
19-
process.env.PORT_OVERRIDE || process.env.ONIFY_API_INTERNAL_PORT || 8585;
19+
process.env.PORT || 8585;
2020
const resourcesSource = process.env.ONIFY_API_RESOURCES_SOURCE || '/';
2121
const resourceURL = `${process.env.ONIFY_API_URL}/admin/resources/file?stream=false&path=${resourcesSource}`;
2222
const listResourcesURL = `${process.env.ONIFY_API_URL}/admin/resources?tree=true`;

0 commit comments

Comments
 (0)