[dancer-users] How to add application-specific config values to config.yml? and the environments/* files?

Gabor Szabo gabor at szabgab.com
Mon Feb 8 21:00:02 EST 2021


e.g. My applications uses some external system and I'd like to read its URL
and the token I need to access it from some config file.

I looked at the generated config files, and the only solution I could come
up with is to put it under "plugins" like this:

plugins:
  MyApp:
      url: http://galaxy.com/
      token: 42

I don't really like it.
What is the recommended way to do it?

Gabor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20210208/73f4c443/attachment.htm>


More information about the dancer-users mailing list