Skip to content

Commit

Permalink
fix pages deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
lukesthl committed Mar 30, 2024
1 parent 7404697 commit 03a9b87
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ jobs:
command: deploy ./src/index.ts --env production
- name: Build Web
env:
EXPO_PUBLIC_GITHUB_CLIENT_ID: ${{ vars.EXPO_PUBLIC_GITHUB_CLIENT_ID }}
EXPO_PUBLIC_API_URL: ${{ vars.EXPO_PUBLIC_API_URL }}
EXPO_PUBLIC_GOOGLE_IOS_CLIENT_ID: ${{ vars.EXPO_PUBLIC_GOOGLE_IOS_CLIENT_ID }}
EXPO_PUBLIC_GOOGLE_WEB_CLIENT_ID: ${{ vars.EXPO_PUBLIC_GOOGLE_WEB_CLIENT_ID }}
Expand Down
6 changes: 5 additions & 1 deletion apps/api/src/controller/auth/auth.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ const AuthController = new Hono<AppContext>()
"query",
z
.object({
redirect: z.enum(["com.expoluciaauth.app://", "http://localhost:8081"]),
redirect: z.enum([
"com.expoluciaauth.app://",
"http://localhost:8081",
"https://expo-lucia-auth-example-web.pages.dev",
]),
sessionToken: z.string().optional(),
})
.default({ redirect: "http://localhost:8081" })
Expand Down

0 comments on commit 03a9b87

Please sign in to comment.