appsettings.Development.json.example 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. "Scheduler": "off",
  8. "WeatherApiKey": "%2Fb1uV%2FBf0ckaHJhP5IMVIBkxVSAB%2F9aixZVSgj0%2BJkpvFZMXUDDD4B16uEFdeM1wnm4iFGc97ghjWZ9oBwsTSQ%3D%3D",
  9. "DustApiKey": "%2Fb1uV%2FBf0ckaHJhP5IMVIBkxVSAB%2F9aixZVSgj0%2BJkpvFZMXUDDD4B16uEFdeM1wnm4iFGc97ghjWZ9oBwsTSQ%3D%3D"
  10. },
  11. "AllowedHosts": "*",
  12. "ConnectionStrings": {
  13. "Server": "SqlServer",
  14. "SqliteContext": "Data Source=FMSAdmin.db",
  15. "SqlServerContext": "data source=15.165.55.238;initial catalog=iBems_HD;persist security info=True;user id=sa;password=icontrols123.,"
  16. },
  17. "Serilog": {
  18. "MinimumLevel": {
  19. "Default": "Information",
  20. "Override": {
  21. "Microsoft": "Warning",
  22. "Microsoft.AspNetCore.Hosting.Diagnostics": "Information"
  23. /*"Microsoft.EntityFrameworkCore.Database.Command": "Information"*/
  24. }
  25. },
  26. "WriteTo": [
  27. {
  28. "Name": "Console",
  29. "Args": {
  30. "outputTemplate": "[{Timestamp:HH:mm:ss} {Level:u4}] {SourceContext}{MemberName} {Message}{NewLine}{Exception}"
  31. }
  32. },
  33. {
  34. "Name": "File",
  35. "Args": {
  36. "path": "Logs/fms.log",
  37. "outputTemplate": "[{Timestamp:HH:mm:ss.fff} {Level:u4}] {SourceContext}{MemberName} {Message}{NewLine}{Exception}",
  38. "rollingInterval": "Day"
  39. }
  40. }
  41. ]
  42. },
  43. "Kestrel": {
  44. "EndPoints": {
  45. "Http": {
  46. "Url": "http://0.0.0.0:9090"
  47. }
  48. }
  49. }
  50. }