|
@ -128,6 +128,7 @@ namespace Apewer.Web |
|
|
if (_context.Options.UseRoute) |
|
|
if (_context.Options.UseRoute) |
|
|
{ |
|
|
{ |
|
|
var path = _context?.Request?.Url?.AbsolutePath; |
|
|
var path = _context?.Request?.Url?.AbsolutePath; |
|
|
|
|
|
path = path.TrimEnd('/'); |
|
|
var action = _context.Entries.GetAction(path); |
|
|
var action = _context.Entries.GetAction(path); |
|
|
if (action != null) |
|
|
if (action != null) |
|
|
{ |
|
|
{ |
|
|