mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 13:23:20 -07:00
Removed the other rootpath provider
This commit is contained in:
parent
272c6a2478
commit
57442f16d8
1 changed files with 6 additions and 1 deletions
|
@ -36,6 +36,7 @@ using Nancy.Bootstrappers.Ninject;
|
||||||
using Nancy.Conventions;
|
using Nancy.Conventions;
|
||||||
using Nancy.Cryptography;
|
using Nancy.Cryptography;
|
||||||
using Nancy.Diagnostics;
|
using Nancy.Diagnostics;
|
||||||
|
using Nancy.Hosting.Self;
|
||||||
using Nancy.Session;
|
using Nancy.Session;
|
||||||
|
|
||||||
using PlexRequests.Api.Interfaces;
|
using PlexRequests.Api.Interfaces;
|
||||||
|
@ -107,7 +108,11 @@ namespace PlexRequests.UI
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Set's the root path to the views folder, this means we don't have to recompile the views for every change.
|
/// Set's the root path to the views folder, this means we don't have to recompile the views for every change.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
// protected override IRootPathProvider RootPathProvider => new DebugRootPathProvider();
|
protected override IRootPathProvider RootPathProvider => new DebugRootPathProvider();
|
||||||
|
#endif
|
||||||
|
#if !DEBUG
|
||||||
|
|
||||||
|
protected override IRootPathProvider RootPathProvider => new FileSystemRootPathProvider();
|
||||||
#endif
|
#endif
|
||||||
protected override void ConfigureConventions(NancyConventions nancyConventions)
|
protected override void ConfigureConventions(NancyConventions nancyConventions)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue