Open ringo011010 opened 2 months ago
You can add url rewrite (install Microsoft.AspNetCore.Rewrite nuget package first) setting like below:
var rewrite = new RewriteOptions() .AddRewrite(@"(.+)/hgofilemanager/(.+)", "hgofilemanager/$2", true);
app.UseRewriter(rewrite);
@ermanolca it seem not work.
You can create a controller and use index action. When you try to use another action it can't work. I tried to use in admin area and i had same problem. I hope it will help you.
issue fixed in my fork
In case, the file manager only can display in the top level of route like "https://localhost:1001".
If I want to implement it to other page such as "https://localhost:1001/Home/Test", the application will throw error about not found any css and javascript files.