Skip to content

Commit

Permalink
chore(voucher): updated withdraw and redeem page to public (#4338)
Browse files Browse the repository at this point in the history
  • Loading branch information
siddhart1o1 authored Apr 23, 2024
1 parent 6f0e7ea commit 19e3fa2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions apps/voucher/env.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import { createEnv } from "@t3-oss/env-nextjs"
import { z } from "zod"
import dotenv from "dotenv"
dotenv.config({ path: "../.env" })

export const env = createEnv({
server: {
Expand Down
2 changes: 1 addition & 1 deletion apps/voucher/middleware.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export { default } from "next-auth/middleware"

export const config = { matcher: ["/((?!api).*)"] }
export const config = { matcher: ["/((?!api|withdraw|voucher).*)"] }

0 comments on commit 19e3fa2

Please sign in to comment.