mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 21:33:15 -07:00
Added a custom debug root path provider, this means we do not have to recompile the views every time we make a view change
This commit is contained in:
parent
7976d3d867
commit
7cf649c020
3 changed files with 50 additions and 0 deletions
|
@ -103,6 +103,12 @@ namespace PlexRequests.UI
|
|||
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
/// <summary>
|
||||
/// Set's the root path to the views folder, this means we don't have to recompile the views for every change.
|
||||
/// </summary>
|
||||
protected override IRootPathProvider RootPathProvider => new DebugRootPathProvider();
|
||||
#endif
|
||||
protected override void ConfigureConventions(NancyConventions nancyConventions)
|
||||
{
|
||||
base.ConfigureConventions(nancyConventions);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue