fix: verificar se adicionar error a home dá certo
This commit is contained in:
parent
fc02c22f40
commit
0fb14e6f14
@ -68,7 +68,7 @@ namespace QRRapidoApp.Middleware
|
|||||||
"favicon.ico", "robots.txt", "sitemap.xml",
|
"favicon.ico", "robots.txt", "sitemap.xml",
|
||||||
"signin-microsoft", "signin-google", "signout-callback-oidc",
|
"signin-microsoft", "signin-google", "signout-callback-oidc",
|
||||||
"Account/ExternalLoginCallback", "Account/Logout", "Pagamento/CreateCheckout",
|
"Account/ExternalLoginCallback", "Account/Logout", "Pagamento/CreateCheckout",
|
||||||
"Pagamento/StripeWebhook", "api/QR"
|
"Pagamento/StripeWebhook", "api/QR", "Home/Error"
|
||||||
};
|
};
|
||||||
|
|
||||||
return specialRoutes.Any(route => path.StartsWith(route, StringComparison.OrdinalIgnoreCase));
|
return specialRoutes.Any(route => path.StartsWith(route, StringComparison.OrdinalIgnoreCase));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user