Skip to content

Commit

Permalink
Merge branch 'master' into reinier/open-1806-implement-front-to-back-…
Browse files Browse the repository at this point in the history
…github-oauth-support-on-blocks
  • Loading branch information
aarushik93 authored Sep 25, 2024
2 parents 31bdd34 + d220562 commit 60ccb3d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion autogpt_platform/backend/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ DB_PORT=5432
DATABASE_URL="postgresql://${DB_USER}:${DB_PASS}@localhost:${DB_PORT}/${DB_NAME}?connect_timeout=60&schema=platform"
PRISMA_SCHEMA="postgres/schema.prisma"

BACKEND_CORS_ALLOW_ORIGINS="http://localhost:3000"
BACKEND_CORS_ALLOW_ORIGINS=["http://localhost:3000"]

REDIS_HOST=localhost
REDIS_PORT=6379
Expand Down
3 changes: 3 additions & 0 deletions autogpt_platform/frontend/src/app/login/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ export async function signup(values: z.infer<typeof loginFormSchema>) {
const { data, error } = await supabase.auth.signUp(values);

if (error) {
if (error.message.includes("P0001")) {
return "Please join our waitlist for your turn: https://agpt.co/waitlist";
}
return error.message;
}

Expand Down

0 comments on commit 60ccb3d

Please sign in to comment.