forked from AcaMate/AcaMate_API
[♻️] 헤더 예외 처리 수정
This commit is contained in:
parent
b2eec9c5a9
commit
7fc316520c
|
@ -47,7 +47,7 @@ public class APIHeaderMiddleware
|
||||||
public async Task Invoke(HttpContext context)
|
public async Task Invoke(HttpContext context)
|
||||||
{
|
{
|
||||||
|
|
||||||
if (context.Request.Path.StartsWithSegments("/api/v1/in/app", StringComparison.OrdinalIgnoreCase))
|
if (context.Request.Path.Equals("/api/v1/in/app", StringComparison.OrdinalIgnoreCase))
|
||||||
{
|
{
|
||||||
await _next(context);
|
await _next(context);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user