File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ release. This directory needs to be configured in the environment variable
2424
2525``` bash
2626git clone https://github.com/MassBank/MassBank-data.git
27- export MB_DATA_DIRECTORY=" ./MassBank-data"
27+ export MB_DATA_DIRECTORY=" $( realpath ./MassBank-data) "
2828```
2929
3030### CORS
@@ -35,6 +35,14 @@ To configure CORS you can set the environment variable `CORS_ALLOWED_ORIGINS`.
3535export CORS_ALLOWED_ORIGINS=http://localhost:3000
3636```
3737
38+ ### CONTEXT_PATH
39+
40+ The application serves the content at the given CONTEXT_PATH. If no CONTEXT_PATH
41+ is given the application serves at root path http://localhost:8080/ . To serve the
42+ application at a different path set the environment variable CONTEXT_PATH,
43+ e.g. ` CONTEXT_PATH="/MassBank-export ` and the server will listen on
44+ http://localhost:8080/MassBank-export .
45+
3846### Using a Reverse Proxy
3947
4048To make the Swagger UI work behind a reverse proxy one must configure
You can’t perform that action at this time.
0 commit comments