appsettings.json.example 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. {
  2. "AppSettings": {
  3. "Secret": "THIS IS USED TO SIGN AND VERIFY JWT TOKENS, REPLACE IT WITH YOUR OWN SECRET, IT CAN BE ANY STRING",
  4. "StoragePath": "/react/fms-admin-backend",
  5. "StorageUrl": "http://localhost:9090",
  6. "SiteUrl": "http://localhost:9090",
  7. "WeatherApiKey": "N50NNBTbuys7Gx9rkx3avyMCjEbP0IG8VaP5Ud4%2BtjKPapN22CX9xFFnYf5F9y%2BV0cBNMZRF8OY9V%2Fgs6K8pyA%3D%3D",
  8. "DustApiKey": "N50NNBTbuys7Gx9rkx3avyMCjEbP0IG8VaP5Ud4%2BtjKPapN22CX9xFFnYf5F9y%2BV0cBNMZRF8OY9V%2Fgs6K8pyA%3D%3D"
  9. },
  10. "Serilog": {
  11. "MinimumLevel": {
  12. "Default": "Information",
  13. "Override": {
  14. "Microsoft": "Warning",
  15. "Microsoft.AspNetCore.Hosting.Diagnostics": "Information"
  16. /*"Microsoft.EntityFrameworkCore.Database.Command": "Information"*/
  17. }
  18. },
  19. "WriteTo": [
  20. {
  21. "Name": "Console",
  22. "Args": {
  23. "outputTemplate": "[{Timestamp:HH:mm:ss} {Level:u4}] {SourceContext}{MemberName} {Message}{NewLine}{Exception}"
  24. }
  25. },
  26. {
  27. "Name": "File",
  28. "Args": {
  29. "path": "Logs/fms.log",
  30. "outputTemplate": "[{Timestamp:HH:mm:ss.fff} {Level:u4}] {SourceContext}{MemberName} {Message}{NewLine}{Exception}",
  31. "rollingInterval": "Day"
  32. }
  33. }
  34. ]
  35. },
  36. "AllowedHosts": "*",
  37. "ConnectionStrings": {
  38. "SeedApiContext": "data source=15.165.55.238;initial catalog=iBems_HD;persist security info=True;user id=sa;password=icontrols123.,"
  39. }
  40. }