懒得勤快 6 éve
szülő
commit
54b6a1b70a
1 módosított fájl, 4 hozzáadás és 2 törlés
  1. 4 2
      src/Masuit.MyBlogs.Core/Configs/AppConfig.cs

+ 4 - 2
src/Masuit.MyBlogs.Core/Configs/AppConfig.cs

@@ -1,4 +1,6 @@
-namespace Masuit.MyBlogs.Core.Configs
+using System.Collections.Generic;
+
+namespace Masuit.MyBlogs.Core.Configs
 {
 {
     /// <summary>
     /// <summary>
     /// 应用程序配置
     /// 应用程序配置
@@ -33,6 +35,6 @@
         /// <summary>
         /// <summary>
         /// 图床域名
         /// 图床域名
         /// </summary>
         /// </summary>
-        public static string[] ImgbedDomains { get; set; } = { };
+        public static List<string> ImgbedDomains { get; set; } = new List<string>();
     }
     }
 }
 }