You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
465 B
20 lines
465 B
using System.Web.Hosting;
|
|
using System.Web.Http;
|
|
using Microsoft.Owin;
|
|
using Owin;
|
|
using SiteServer.API;
|
|
using SiteServer.CMS.Plugin;
|
|
|
|
[assembly: OwinStartup(typeof(Startup))]
|
|
|
|
namespace SiteServer.API
|
|
{
|
|
public class Startup
|
|
{
|
|
public void Configuration(IAppBuilder app)
|
|
{
|
|
PluginManager.LoadPlugins(HostingEnvironment.ApplicationPhysicalPath);
|
|
GlobalConfiguration.Configure(WebApiConfig.Register);
|
|
}
|
|
}
|
|
}
|