This commit is contained in:
owenchen committed 2026-08-28 08:48:34 +08:00
1 parent 1e125254eb
commit a785f1429b
21 files changed
+193 -489

No files matched your search

@@ -17,6 +17,7 @@ using CloudBuilder.Security.Service;
using CloudBuilder.Security.SearchCriteria;
using CloudBuilder.Security;
using Microsoft.Extensions.Options;
using Fido2NetLib;
namespace CloudBuilder.Web.Entry.Controllers.Security
{
@@ -61,9 +62,8 @@ this.yesNoPolicyService= yesNoPolicyService;
try
{
yesNoPolicyService.Copy();
return string.Empty;
var result = yesNoPolicyService.Copy();
return result;
}
catch (ValidatedException vex)
{
@@ -72,7 +72,7 @@ this.yesNoPolicyService= yesNoPolicyService;
catch (Exception ex)
{
return new ServiceErrorException(ex);
}
}
}
@@ -103,7 +103,7 @@ if (!string.IsNullOrEmpty(physicalDir))
{
app.UseStaticFiles(new StaticFileOptions()
{
FileProvider = new PhysicalFileProvider(app.Configuration["FileServiceSettings:PhysicalFileDirectory"]),
FileProvider = new PhysicalFileProvider(physicalDir),
RequestPath = app.Configuration["FileServiceSettings:RequestPath"],
ContentTypeProvider = provider
});
@@ -10,16 +10,16 @@
"DbContexts": {
"MasterDbContext": {
"DbContextTypeName": "MasterDbContext",
"ConnectionString": "server=nas.youjiala.com;port=3307;database=Furion;uid=root;pwd=Root@1237890;CharSet=utf8mb4;",
"DatabaseType": "MySql",
"ConnectionString": "Server=localhost\\SQLEXPRESS;Database=Furion;User=sa;Password=owen123456;MultipleActiveResultSets=True;TrustServerCertificate=true",
"DatabaseType": "SqlServer",
"LazyLoadingProxiesEnabled": true,
"AuditEntityEnabled": true,
"AutoMigrationEnabled": true
},
"SecondaryDbContext": {
"DbContextTypeName": "SecondaryDbContext",
"ConnectionString": "Server=localhost\\SQLEXPRESS;Database=Furion;User=sa;Password=owen123456;MultipleActiveResultSets=True;TrustServerCertificate=true",
"DatabaseType": "SqlServer",
"ConnectionString": "server=nas.youjiala.com;port=3307;database=Furion;uid=root;pwd=Root@1237890;CharSet=utf8mb4;",
"DatabaseType": "MySql",
"LazyLoadingProxiesEnabled": true,
"AuditEntityEnabled": true,
"AutoMigrationEnabled": true