appsettings.Development.json 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. {
  2. "Kestrel": {
  3. "Endpoints": {
  4. "Https": {
  5. "Url": "https://localhost:4000"
  6. }
  7. }
  8. },
  9. "App": {
  10. "Name": "bitForum API",
  11. "Company": "PLAYR",
  12. "BaseURL": "https://localhost:5000",
  13. "ApiURL": "https://localhost:4000",
  14. "FrontURL": "https://localhost:3000"
  15. },
  16. "ConnectionStrings": {
  17. "DefaultConnection": "Server=(localdb)\\mssqllocaldb;Database=AdminContext-87208056-7d2d-412a-b7f8-8e6c942ea8c8;Trusted_Connection=True;MultipleActiveResultSets=true"
  18. },
  19. "Redis": {
  20. "DefaultConnection": "192.168.0.100:6379,password=bluescreen!!,defaultDatabase=4",
  21. "CachePrefix": "Admin:Cache",
  22. "DataProtectionKey": "Admin:DataProtection-Keys",
  23. "DefaultKeyLifetime": "90.00:00:00"
  24. },
  25. "JWT": {
  26. "SecretKey": "bitforum-dev-secret-key-2026-minimum-32-chars!",
  27. "Issuer": "bitforum-api",
  28. "Audience": "bitforum-front",
  29. "AccessTokenExpiration": 30,
  30. "RefreshTokenExpiration": 7
  31. },
  32. "CorsPolicy": {
  33. "Name": "AllowFront",
  34. "PreflightMaxAgeSeconds": 3600,
  35. "AllowedOrigins": [
  36. "http://localhost:3000",
  37. "https://localhost:3000"
  38. ]
  39. },
  40. "Logging": {
  41. "LogLevel": {
  42. "Default": "Information",
  43. "Microsoft.AspNetCore": "Warning",
  44. "LuckyPennySoftware.MediatR.License": "None"
  45. }
  46. },
  47. "AllowedHosts": "*"
  48. }