wabbajack/Wabbajack.CacheServer/Program.cs

30 lines
758 B
C#
Raw Normal View History

2019-11-19 05:10:07 +00:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Nancy.Hosting.Self;
2019-11-19 05:10:07 +00:00
using Wabbajack.Common;
namespace Wabbajack.CacheServer
{
class Program
{
static void Main(string[] args)
{
Utils.LogMessages.Subscribe(Console.WriteLine);
using (var server = new Server("http://localhost:8080"))
{
Consts.WabbajackCacheHostname = "localhost";
Consts.WabbajackCachePort = 8080;
2019-11-19 05:10:07 +00:00
server.Start();
ListValidationService.Start();
var tsk = JobQueueEndpoints.StartJobQueue();
2019-11-19 05:10:07 +00:00
Console.ReadLine();
}
}
}
}