mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 20:29:06 +00:00
fix authentication issue
This commit is contained in:
@@ -62,24 +62,12 @@ export const getFiefAuth = async (url: URL) => {
|
||||
|
||||
export const getFiefAuthMiddleware = async (url) => {
|
||||
const protectedPaths = [
|
||||
{
|
||||
matcher: "/:domain/transcripts",
|
||||
parameters: {},
|
||||
},
|
||||
{
|
||||
matcher: "/:domain/transcripts/:path*",
|
||||
parameters: {},
|
||||
},
|
||||
{
|
||||
matcher: "/:domain/browse",
|
||||
parameters: {},
|
||||
},
|
||||
{
|
||||
matcher: "/transcripts",
|
||||
parameters: {},
|
||||
},
|
||||
{
|
||||
matcher: "/transcripts/:path*",
|
||||
matcher: "/transcripts/((?!new).*)",
|
||||
parameters: {},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user