Skip to content

Conversation

swaldmann
Copy link
Contributor

No description provided.

@swaldmann swaldmann requested review from chgeo and sjvans and removed request for chgeo October 7, 2025 09:40
For security reasons, the **index page is not served in production** by default in both [Node.js](../node.js/cds-server#toggle-generic-index-page) and [Java](../java/developing-applications/configuring#production-profile).
If you try to access your backend URL, you will therefore see a _404 Cannot GET /_ error.
This also means you **cannot use the `/` path as a health status indicator**. See the [Health Checks guide](../guides/deployment/health-checks) for the correct paths.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sjvans I have added a note on the health status checks. Please augment if needed.

@chgeo chgeo changed the title Troubleshooting entry for "Cannot GET /" Troubleshooting entry for missing index page and "Cannot GET /" Oct 7, 2025
@swaldmann swaldmann enabled auto-merge (squash) October 9, 2025 08:29
@swaldmann swaldmann merged commit 4b76c68 into main Oct 9, 2025
7 checks passed
@swaldmann swaldmann deleted the ts-cannot-get branch October 9, 2025 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants