mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-27 04:21:27 +02:00
splited MVC and nancy application
backbone app is now fully served from nancy including css,js,html
This commit is contained in:
13
NzbDrone.Api/FrontendModule/IndexModule.cs
Normal file
13
NzbDrone.Api/FrontendModule/IndexModule.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System.Linq;
|
||||
using Nancy;
|
||||
|
||||
namespace NzbDrone.Api.FrontendModule
|
||||
{
|
||||
public class IndexModule : NancyModule
|
||||
{
|
||||
public IndexModule()
|
||||
{
|
||||
Get[@"/"] = x => View["NzbDrone.Backbone/index.html"];
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user