local application settings in config.

glebs • 3 weeks ago

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

antao2002 • 3 weeks 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