mirror of
https://github.com/donpat1to/Schichtenplaner.git
synced 2025-11-30 22:45:46 +01:00
added api /auth/me to whitelist apicalls
This commit is contained in:
@@ -68,7 +68,8 @@ const shouldSkipLimit = (req: Request): boolean => {
|
|||||||
const skipPaths = [
|
const skipPaths = [
|
||||||
'/api/health',
|
'/api/health',
|
||||||
'/api/setup/status',
|
'/api/setup/status',
|
||||||
'/api/auth/validate'
|
'/api/auth/validate',
|
||||||
|
'/api/auth/me',
|
||||||
];
|
];
|
||||||
|
|
||||||
// Skip for successful GET requests (data fetching)
|
// Skip for successful GET requests (data fetching)
|
||||||
|
|||||||
Reference in New Issue
Block a user