Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow reading from alternate source locations (Azure, Url, etc) #33

Open
ravensorb opened this issue Apr 8, 2017 · 1 comment
Open

Comments

@ravensorb
Copy link

Would it be possible to add support to allow the settings to be loaded from alternative locations?

@signaltrace-dev
Copy link

You can apply a different configuration file by using Config.ApplyJsonFromPath or Config.ApplyJsonFromFileInfo:

ConfigObject customConfig = Config.ApplyJsonFromFileInfo(new FileInfo(PATH_TO_CONFIG_FILE));
Config.SetUserConfig(customConfig);

In the case of getting your settings from a URL you would need to grab a local copy of the remote file first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants