diff --git a/IRaCIS.Core.API/Startup.cs b/IRaCIS.Core.API/Startup.cs index e3238d68..7bf6254c 100644 --- a/IRaCIS.Core.API/Startup.cs +++ b/IRaCIS.Core.API/Startup.cs @@ -237,7 +237,7 @@ namespace IRaCIS.Core.API endpoints.MapControllers(); - endpoints.MapHub("/UploadHub")/*.RequireCors(t=>t.WithOrigins(new string[] {"null"}).AllowAnyMethod().AllowAnyHeader().AllowCredentials())*/; + endpoints.MapHub("/UploadHub"); }); } diff --git a/IRaCIS.Core.API/appsettings.Staging.json b/IRaCIS.Core.API/appsettings.Staging.json index 2bdaadaf..52e93a6e 100644 --- a/IRaCIS.Core.API/appsettings.Staging.json +++ b/IRaCIS.Core.API/appsettings.Staging.json @@ -18,8 +18,6 @@ "OpenLoginLimit": true }, - - "SystemEmailSendConfig": { "Port": 25, "Host": "smtp.qiye.aliyun.com",