You can either display the default Welcome file or specify a different file as Welcome file.
SAP Business Technology Platform, Neo environment will sunset on December 31, 2028, subject to terms of customer or partner contracts.
For more information, see SAP Note 3351844.
This documentation refers to SAP Business Technology Platform, Neo environment. If you are looking for documentation about other environments, see SAP Business Technology Platform
↗️ .
If the application is accessed only with the domain name in the URL, that is without any additional path information, then the index.html
file that is located in the root folder of your repository is delivered by default. If you want to deliver a different file, configure this file in the neo-app.json
file using the WelcomeFile
parameter. With this additional parameter you specify whether a redirect is sent to the Welcome file or whether the Welcome file is delivered without redirect. If this option is set, then instead of serving the Welcome file directly under /
, the HTML5 application will send a redirect to the WelcomeFile
location. With that, relative links in a Welcome file that is not located in the root directory will work.
To configure the Welcome file, add a JSON string with the following format to the neo-app.json
file:
"welcomeFile": "<path to the welcome file>",
"sendWelcomeFileRedirect": true | false
An example configuration, which forwards requests without any path information to an
index.html
file in thefolder would look like this:
/resources
"welcomeFile": "/resources/index.html", "sendWelcomeFileRedirect": true