mirror of
https://github.com/tiennm99/coolify.git
synced 2026-07-17 08:17:37 +00:00
15 lines
266 B
TypeScript
15 lines
266 B
TypeScript
const publicPaths = [
|
|
'/login',
|
|
'/register',
|
|
'/reset',
|
|
'/reset/password',
|
|
'/webhooks/success',
|
|
'/webhooks/github',
|
|
'/webhooks/github/install',
|
|
'/webhooks/gitlab'
|
|
];
|
|
|
|
export function isPublicPath(path: string): boolean {
|
|
return publicPaths.includes(path);
|
|
}
|