local application settings in config.

1 Relevant Page: Configuration-file
glebs 9 months ago

Is it possible to add some local settings for my application into the config file and how to use such data?

antao2002 9 months ago

Please see the custom_config option in the config file.

    //custom_config: custom configuration for users. This object can be get by the app().getCustomConfig() method. 
    "custom_config": {
        "realm": "drogonRealm",
        "opaque": "drogonOpaque",
        "credentials": [{
            "user": "drogon",
            "password": "dr0g0n"
Log in to comment