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.
Lidarr/NzbDrone/Program.cs

29 lines
734 B

14 years ago
using System;
using System.Collections.Generic;
using System.Linq;
14 years ago
using System.Net;
14 years ago
using System.Text;
using NLog;
using NzbDrone.Core;
14 years ago
namespace NzbDrone.Console
{
class Program
{
private static readonly Logger Logger = LogManager.GetCurrentClassLogger();
14 years ago
static void Main(string[] args)
{
CentralDispatch.ConfigureNlog();
Logger.Info("Starting NZBDrone WebUI");
14 years ago
var server = new CassiniDev.Server(@"D:\My Dropbox\Git\NzbDrone\NzbDrone.Web");
server.Start();
14 years ago
14 years ago
System.Diagnostics.Process.Start(server.RootUrl);
Logger.Info("Server available at: " + server.RootUrl);
14 years ago
System.Console.ReadLine();
}
}
}