Compare commits

...
3 Commits
Author SHA1 Message Date
saherelm 8c4402ba2b add config for cache ttl ... 2026-11-15 21:26:18 +03:30
saherelm 889d5b34f6 Fix Verification TTL to Minutes ... 2026-11-13 19:01:42 +03:30
saherelm d85314b05a cleaning configuration for bot ... 2026-11-13 13:49:30 +03:30
+3 -3
View File
@@ -5,6 +5,7 @@
"XPoweredValue": "SaherElmITCenter", "XPoweredValue": "SaherElmITCenter",
"WelcomeMessage": "Welcome to xSaherElm Project's API", "WelcomeMessage": "Welcome to xSaherElm Project's API",
"AllowedOrigins": ["http://saherelm.ir", "https://saherelm.ir"], "AllowedOrigins": ["http://saherelm.ir", "https://saherelm.ir"],
"DefaultCacheTtlMinutes": 10,
"SwaggerConfiguration": { "SwaggerConfiguration": {
"Version": "v1.0", "Version": "v1.0",
"Title": "xSaherElm API", "Title": "xSaherElm API",
@@ -178,9 +179,8 @@
"DefaultClientTimeout": -1 "DefaultClientTimeout": -1
}, },
"BotServiceConfiguration": { "BotServiceConfiguration": {
"VerificationCodeTTL": 300, "VerificationCodeTTL": 5,
"DefaultClientTimeout": 360, "DefaultClientTimeout": 3600,
"VerificationCodeLength": 6,
"BaseRoute": "https://tapi.bale.ai", "BaseRoute": "https://tapi.bale.ai",
"Token": "57317004:D2I9H0KWq2rTB44hHlZ7fOCa9oTgUU6RGIg" "Token": "57317004:D2I9H0KWq2rTB44hHlZ7fOCa9oTgUU6RGIg"
}, },