Files
xSaherElmApi/appsettings.json
T
2026-04-10 23:51:36 +03:30

138 lines
3.7 KiB
JSON

{
"Version": "0.1",
"Name": "xApi",
"DefaultLanguage": "fa-IR",
"XPoweredValue": "SaherElmITCenter",
"WelcomeMessage": "Welcome to xSaherElm Project's API",
"AllowedOrigins": [
"http://saherelm.ir",
"https://saherelm.ir"
],
"SwaggerConfiguration": {
"Version": "v1.0",
"Title": "xSaherElm API",
"Description": "Complete API Documentation",
"Contact": {
"Name": "Hadi Khazaee Asl",
"Email": "hadi_khazaee_asl@yahoo.com",
"Url": "https://www.saherelm.ir"
}
},
"XDbProvider": "SQLITE",
"ConnectionStrings": {
"DataConnection": "Filename=./Db/XApi.db"
},
"MessageConfiguration": {
"MailConfigurations": {
"gmail": {
"Title": "SaherElm Dashboard",
"Host": "smtp.gmail.com",
"Port": 587,
"EnableSsl": true,
"Username": "saherelm@gmail.com",
"Password": "vzuz gtrk tndb ctbc"
}
},
"SmsConfigurations": {
"yoursms": {
"ServiceUrl": "http://sms.yourprovider.ir",
"Username": "user",
"Password": "psw",
"LineNumber": "linenumber",
"UserApiKey": "",
"SecretKey": ""
}
}
},
"MessageResourceTitles": {
"Terms": "terms",
"Invite": "user_invite_msg",
"RegistrationApprove": "registration_approve_msg",
"Registered": "registered_msg",
"VerificationCode": "verification_code_msg",
"ChangePassword": "change_password_msg",
"PasswordChanged": "password_changed_msg",
"NewDeviceLoggedIn": "new_device_logged_in_msg"
},
"DataServiceConfiguration": {
"EnableTracking": true,
"EnableSoftDelete": false,
"EnableDetailedErrors": false,
"EnableSensitiveDataLogging": true,
"PagingConfiguration": {
"DefaultPageSize": 20,
"MaxAvailablePageSize": 400,
"MinAvailablePageSize": 5
},
"GraphQLBasePath": "/graphs"
},
"DbSeeder": {
"UpdateExists": false,
"Strings": [],
"Terms": [
{
"Language": "fa-IR",
"ResourceTitle": "terms",
"TranslatedValue": "توافقنامه استفاده از خدمات و شرایط و ضوابط عضویت"
},
{
"Language": "en-US",
"ResourceTitle": "terms",
"TranslatedValue": "Terms and Conditions of Using Yuze Services"
}
]
},
"HttpServiceConfiguration": {
"DisableSSLCheck": true,
"DefaultClientTimeout": -1
},
"IdentityServiceConfiguration": {
"Authority": "https://172.18.0.151",
"ApiName": "xSaherElmAPI",
"ApiSecret": "s@H@1694056",
"ClientId": "xSaherElmAPIClient",
"ClientSecret": "s@H@1694056",
"XPoweredValue": "SaherElmITCenter",
"XRevisionSecretKey": "SaherElmITCenter@1694056",
"DefaultClientTimeout": -1
},
"PushServiceConfiguration": {
"BaseRoute": "hubs",
"AddSupportMessageProtocol": true
},
"StorageConfiguration": {
"Authority": "https://api.saherelm.ir",
"IdentityAuthority": "https://ids.saherelm.ir",
"Storage": "Storage",
"Temp": "Temp",
"Thumb": "Thumb",
"Uploads": "Uploads",
"Widgets": "Widgets",
"Image": "Image",
"Audio": "Audio",
"Video": "Video",
"Document": "Document",
"FilePrefix": "xSaherElm_",
"ThumbPrefix": "Thumb_",
"ThumbSize": 512,
"ThumbQuality": 72,
"MaxFileSize": 41943040
},
"ServicesConfiguration": {
"SummaryEndsWdith": " ...",
"ContentSummaryMaxLength": 255
},
"AIServiceConfiguration": {
"Url": "https://localhost:6001/api/v1/ai",
"XPoweredValue": "SaherElmITCenter",
"DefaultClientTimeout": -1
},
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*"
}