refactor(Sentry): add Dsn into appsettings.json
This commit is contained in:
parent
1f514b3943
commit
33ff412eba
|
@ -22,6 +22,6 @@ namespace Bootstrap.Admin
|
|||
/// <param name="args"></param>
|
||||
/// <returns></returns>
|
||||
public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
|
||||
WebHost.CreateDefaultBuilder(args).UseSentry("https://70bdfff562e84fa7b9a43d65924ab9ad@sentry.io/1469396").UseStartup<Startup>();
|
||||
WebHost.CreateDefaultBuilder(args).UseSentry().UseStartup<Startup>();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -62,6 +62,9 @@
|
|||
"Expires": 5,
|
||||
"SecurityKey": "BootstrapAdmin-V1.1"
|
||||
},
|
||||
"Sentry" : {
|
||||
"Dsn": "https://70bdfff562e84fa7b9a43d65924ab9ad@sentry.io/1469396"
|
||||
},
|
||||
"LongbowCache": {
|
||||
"Enabled": true,
|
||||
"CorsItems": [
|
||||
|
|
Loading…
Reference in New Issue