appsettings.json 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. {
  2. "App": {
  3. "Name": "bitForum API",
  4. "Company": "PLAYR",
  5. "BaseURL": "https://localhost:5000",
  6. "ApiURL": "https://localhost:5010",
  7. "FrontURL": "http://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. "AuthTicketPrefix": "Admin:Auth:Ticket",
  16. "DataProtectionKey": "Admin:DataProtection-Keys",
  17. "DefaultKeyLifetime": "90.00:00:00"
  18. },
  19. "JWT": {
  20. "SecretKey": "bitforum-dev-secret-key-2026-minimum-32-chars!",
  21. "Issuer": "bitforum-api",
  22. "Audience": "bitforum-front",
  23. "AccessTokenExpiration": 30,
  24. "RefreshTokenExpiration": 7
  25. },
  26. "CorsPolicy": {
  27. "Name": "AllowFront",
  28. "PreflightMaxAgeSeconds": 3600,
  29. "AllowedOrigins": [ "http://localhost:3000" ]
  30. },
  31. "Logging": {
  32. "LogLevel": {
  33. "Default": "Information",
  34. "Microsoft.AspNetCore": "Warning"
  35. }
  36. },
  37. "AllowedHosts": "*"
  38. }