I'm searching for a way to create a custom config file who will be automaticly added to the publish directory and can be readed from any view.
For example in my case. We're developing a web page for a picking software with robots for the warehouses of our customers. The places where our customers picking articles or bringing new articles into this systems are called ports.
Any customer can have a different number of ports.
E.g. customer 1 have port 1 and 2.
Customer 2 can have port 1, 2 and 4 but not 3.
I wanna read those informations from a config file. Can be json or xml but i prefer json.