mirror of
https://github.com/TechplexEngineer/plexview.git
synced 2026-07-27 22:15:37 +00:00
26 lines
487 B
C#
26 lines
487 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using OpenMetaverse;
|
|
using Nancy;
|
|
using Nancy.Hosting.Self;
|
|
|
|
namespace PlexView
|
|
{
|
|
public class PlexView
|
|
{
|
|
public PlexView (string[] args)
|
|
{
|
|
//bootstrap the app here, initialize services, start http, get ready!
|
|
Console.WriteLine ("Server Starting");
|
|
|
|
var nancyHost = new NancyHost(Constants.HTTP_URL);
|
|
|
|
nancyHost.Start();
|
|
Console.WriteLine("HTTP server listening "+Constants.HTTP_URL);
|
|
Console.ReadKey();
|
|
|
|
}
|
|
}
|
|
}
|
|
|