aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/Plugin.cs
diff options
context:
space:
mode:
authorLukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com>2012-09-02 09:45:02 -0400
committerLukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com>2012-09-02 09:45:02 -0400
commite52833059bc819cbdb41ba204b82aee1760ddb3a (patch)
treee55fd39ffcbc2d268639610cf78b987b21973884 /MediaBrowser.Api/Plugin.cs
parent7ad612bb4b181a7426c1ba2d15692c1f230d236c (diff)
Moved server configuration to the model so that the UI can read it
Diffstat (limited to 'MediaBrowser.Api/Plugin.cs')
-rw-r--r--MediaBrowser.Api/Plugin.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/MediaBrowser.Api/Plugin.cs b/MediaBrowser.Api/Plugin.cs
index 467b30ef1..f13b9efb3 100644
--- a/MediaBrowser.Api/Plugin.cs
+++ b/MediaBrowser.Api/Plugin.cs
@@ -105,6 +105,10 @@ namespace MediaBrowser.Api
{
return new WeatherHandler();
}
+ else if (localPath.EndsWith("/api/cerverconfiguration", StringComparison.OrdinalIgnoreCase))
+ {
+ return new ServerConfigurationHandler();
+ }
return null;
}