Skip to content

Commit

Permalink
Remove condition, leave only the log for apiPath
Browse files Browse the repository at this point in the history
  • Loading branch information
sneridagh committed Oct 23, 2024
1 parent 103096d commit 2d18ace
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions packages/volto/src/start-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,8 @@ export default function server() {

server
.listen(port, bind_address, () => {
if (app.apiPath === app.publicURL || !app.apiPath) {
console.log(`Volto is running in normal deployment mode`);
} else {
console.log(`API server (API_PATH) is set to: ${app.apiPath}`);
}
console.log(`API server (API_PATH) is set to: ${app.apiPath}`);

if (app.devProxyToApiPath)
console.log(
`Proxying API requests from ${app.publicURL}/++api++ to ${
Expand Down

0 comments on commit 2d18ace

Please sign in to comment.