INL / corpus-frontend

BlackLab Frontend, a feature-rich corpus search interface for BlackLab.
16 stars 7 forks source link

config file lookup #510

Closed eduarddrenth closed 2 months ago

eduarddrenth commented 2 months ago

When your contextPath is i.e. /TEST/corpus-frontend, a properties file TEST/corpus-frontend.properties is searched in various locations. Having the name of the properties file depend on the contextPath is I think a good idea, if you want to run multiple instances for example.

The documentation states that the name of the properties file should be the same as the name of the war file. This is not how it works at the moment and I think it shouldn't.

So perhaps adapting documentation is the best solution here.

KCMertens commented 2 months ago

Hopefully this makes it a little more clear: https://github.com/INL/corpus-frontend/commit/3042da378c41be35c67c0aacd02e60bac7b223d3