-
Notifications
You must be signed in to change notification settings - Fork 62
Remote Access
To enable remote access we configured Tomcat in a way that it listens to all hosts.
The Metanome frontend needs to distinguish between development and production.
If you are in development mode, all your request go to a second running Tomcat instance
running the Metanome backend at localhost:8081
.
However, if you use Metanome in production mode, the backend can be started at any url.
Your request have to go against that url.
Therefore, we have to configure the request, which are made from the frontend.
We are using gulp-ng-config
for that purpose.
In the file config.json
the urls for the different purposes are defined.
Having an empty url for production mode means, that the requests from the frontend are appended to the url the frontend is started at. This doesnt work with the current setup.