appsettings.Development.json 1.3 KB

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