Skip to content

Commit

Permalink
fix: port env
Browse files Browse the repository at this point in the history
  • Loading branch information
rolu01 committed May 29, 2024
1 parent 2df7655 commit a3cdae2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/setup-app.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const rootDir = resolve();
let allResources = null; // This will store the entire resources tree.

const port =
process.env.PORT_OVERRIDE || process.env.ONIFY_API_INTERNAL_PORT || 8585;
process.env.PORT || 8585;
const resourcesSource = process.env.ONIFY_API_RESOURCES_SOURCE || '/';
const resourceURL = `${process.env.ONIFY_API_URL}/admin/resources/file?stream=false&path=${resourcesSource}`;
const listResourcesURL = `${process.env.ONIFY_API_URL}/admin/resources?tree=true`;
Expand Down

0 comments on commit a3cdae2

Please sign in to comment.