Weather updates

This commit is contained in:
LukePulverenti Luke Pulverenti luke pulverenti
2012-09-02 13:34:12 -04:00
parent b6bc22ae63
commit 3c47375229
7 changed files with 47 additions and 13 deletions

View File

@@ -41,6 +41,14 @@ namespace MediaBrowser.Common.Kernel
/// </summary>
public HttpServer HttpServer { get; private set; }
protected virtual string HttpServerUrlPrefix
{
get
{
return "http://+:" + Configuration.HttpServerPortNumber + "/mediabrowser/";
}
}
/// <summary>
/// Gets the kernel context. The UI kernel will have to override this.
/// </summary>
@@ -181,7 +189,7 @@ namespace MediaBrowser.Common.Kernel
{
DisposeHttpServer();
HttpServer = new HttpServer("http://+:" + Configuration.HttpServerPortNumber + "/mediabrowser/");
HttpServer = new HttpServer(HttpServerUrlPrefix);
}
/// <summary>