1
13693261870
2022-11-12 789027cd17a31a439efeef8ba1ef61705ba43edc
Community.Serve/Global.asax.cs
@@ -7,6 +7,7 @@
using System.Web;
using System.Web.Http;
using System.Web.Routing;
using System.Configuration;
namespace Community.Serve
{
@@ -14,7 +15,8 @@
    {
        protected void Application_Start()
        {
            SQLiteHelper.DB = Path.Combine(System.AppDomain.CurrentDomain.BaseDirectory, "bin\\App_Data\\Community.db");
            //SQLiteHelper.DB = Path.Combine(System.AppDomain.CurrentDomain.BaseDirectory, "bin\\App_Data\\Community.db");
            SQLiteHelper.DB = ConfigurationManager.AppSettings["db"];
            GlobalConfiguration.Configure(WebApiConfig.Register);
        }