mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-29 13:25:13 +02:00
splited MVC and nancy application
backbone app is now fully served from nancy including css,js,html
This commit is contained in:
14
NzbDrone.Api/Extentions/RootPathProvider.cs
Normal file
14
NzbDrone.Api/Extentions/RootPathProvider.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using Nancy;
|
||||
|
||||
namespace NzbDrone.Api.Extentions
|
||||
{
|
||||
public class RootPathProvider : IRootPathProvider
|
||||
{
|
||||
public string GetRootPath()
|
||||
{
|
||||
return Directory.GetCurrentDirectory();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user