Skip to content

Commit

Permalink
Fix more errors
Browse files Browse the repository at this point in the history
  • Loading branch information
agriffard committed Nov 9, 2024
1 parent d0e0dd9 commit ce492d9
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion src/OrchardCore.Modules/OrchardCore.Autoroute/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
using OrchardCore.Data;
using OrchardCore.Data.Migration;
using OrchardCore.DisplayManagement;
using OrchardCore.DisplayManagement.Descriptors;
using OrchardCore.Indexing;
using OrchardCore.Liquid;
using OrchardCore.Modules;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System.Text.Json;
using System.Text.Json.Nodes;
using Microsoft.AspNetCore.Authorization;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Nest;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public void Configure(RewriteOptions options)
{
// Exclude URIs prefixed with 'admin' to prevent accidental access restrictions caused by the provided rules.
var prefix = new PathString('/' + _adminOptions.AdminUrlPrefix.TrimStart('/'));

options.Rules.Insert(0, new ExcludeUrlPrefixRule(prefix));
}
}
Expand Down

0 comments on commit ce492d9

Please sign in to comment.