Skip to content

Create an Application with Cloud Foundry Node.js Buildpack #2371

Open
@aanrudolph2

Description

@aanrudolph2

Tutorials: https://developers.sap.com/tutorials/btp-cf-buildpacks-node-create.html

Step 3: Run an Authentication Check needs an additional step.

  1. Create a file Staticfile in the web folder
  2. In the Staticfile, add the following: root: resources

As of 18 April 2025, following the directions as-is, I am getting a 403 when I try to access my web application, and it is due to CF attempting to return a directory index (which it is configured not to do). I am not sure what the default directory should be, as I cannot find it in the Cloud Foundry documentation. For the purposes of this tutorial though, this addition should suffice.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions