Skip to content

Commit

Permalink
Blog beta and adding allowed path
Browse files Browse the repository at this point in the history
  • Loading branch information
wking-io committed May 1, 2024
1 parent 969f2a7 commit 56ae306
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,13 @@ export const meta: MetaFunction<typeof loader> = ({ data }) => {
}

export async function loader({ request }: LoaderFunctionArgs) {
const allowedPaths = ['/', '/verify', '/waitlist/success']
const allowedPaths = [
'/',
'/verify',
'/waitlist/success',
'/articles',
'/articles/the-generative-part-of-generative-art',
]
const url = new URL(request.url)
if (
process.env.SKIP_ALLOWED_PATHS !== 'true' &&
Expand Down

0 comments on commit 56ae306

Please sign in to comment.