Update index.md (#9417)
parent
6cef8ab96e
commit
77366bfe79
|
@ -1145,6 +1145,7 @@ public class Program
|
||||||
.ConfigureAppConfiguration((hostingContext, config) =>
|
.ConfigureAppConfiguration((hostingContext, config) =>
|
||||||
{
|
{
|
||||||
config.SetBasePath(Directory.GetCurrentDirectory());
|
config.SetBasePath(Directory.GetCurrentDirectory());
|
||||||
|
var path = Path.Combine(Directory.GetCurrentDirectory(), "path/to/files");
|
||||||
config.AddKeyPerFile(directoryPath: path, optional: true);
|
config.AddKeyPerFile(directoryPath: path, optional: true);
|
||||||
})
|
})
|
||||||
.UseStartup<Startup>();
|
.UseStartup<Startup>();
|
||||||
|
|
Loading…
Reference in New Issue