appsettings.Development.json 1.4 KB

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