mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-05-30 04:32:27 +00:00
Don't redirect for gameAssets either
This commit is contained in:
parent
972faeea84
commit
83a905c8a2
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ public class UserRequiredRedirectMiddleware : MiddlewareDBContext
|
|||
}
|
||||
|
||||
// Request ends with a path (e.g. /css/style.css)
|
||||
if (!string.IsNullOrEmpty(Path.GetExtension(ctx.Request.Path)))
|
||||
if (!string.IsNullOrEmpty(Path.GetExtension(ctx.Request.Path)) || ctx.Request.Path.StartsWithSegments("/gameAssets"))
|
||||
{
|
||||
await this.next(ctx);
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue