Skip to content

Commit

Permalink
fix supertokens admin user error
Browse files Browse the repository at this point in the history
  • Loading branch information
Ratchet7x5 committed Dec 12, 2024
1 parent b9b9f73 commit 9648de0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ const port = Number.parseInt(process.env.PORT || "3000");
// Specify the host parameter as '0.0.0.0' to listen on all network interfaces
app.listen(port, "0.0.0.0", () => {
console.log(`Backend is now listening on port :${port}`);
console.log(`Backend en vars :
console.log(`Backend env vars :
NODE_ENV=${process.env.NODE_ENV}
NODE_ENV=${process.env.PORT},
PORT=${process.env.PORT},
DATABASE_URL=${process.env.DATABASE_URL},
DATABASE_HOST=${process.env.DATABASE_HOST},
DATABASE_PORT=${process.env.DATABASE_PORT},
Expand Down
4 changes: 1 addition & 3 deletions api/supertokens/supertokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,7 @@ export function getConfiguredRecipeList(): RecipeListFunction[] {
},
}),
Session.init(), // initializes session features
Dashboard.init({
admins: ["[email protected]"],
}),
Dashboard.init(),
UserMetadata.init(),
UserRoles.init(),
];
Expand Down

0 comments on commit 9648de0

Please sign in to comment.