mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 10:47:08 -07:00
splited MVC and nancy application
backbone app is now fully served from nancy including css,js,html
This commit is contained in:
parent
fd4ffa0fa2
commit
7093f352fe
184 changed files with 497 additions and 1959 deletions
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();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue