Subpath support

Application can be mounted on a sub-path. i.e. mydomain.com/app1 by adding the below configuration in config.json file of application.

subPath:'subpathString'

for example: If we want to mount our app(myApp) on subpath ‘oe’ then the config will be as shown below

{
  "restApiRoot": "/api",
  "host": "0.0.0.0",
  "port": 3000,
  "enableMigration": false,
  ...
  ...
  "subPath":"oe"
}

After adding the below config the application will be accessable on mydomain.com/oe/myAapp.

Table of contents: