allow cors.configurationFile to be absolute
Matthias Weinert
Branch: Deleted repository:master
Branch: thetransactioncompany/cors-filter:master
Merged
Merged pull request
Merged in matthiasweinert/cors-filter (pull request #11)
Merged in matthiasweinert/cors-filter (pull request #11)
It should be possible to use an absolute path for the cors.configurationFile property. This allows usage of the same configuration file for multiple applications (for example if the application is load-balanced).
Currently it is only possible to use a relative path which is difficult to maintain. This commit uses the absolut path as a fallback. Already existing logic should not change.