Skip to content

Commit

Permalink
dev port from env
Browse files Browse the repository at this point in the history
  • Loading branch information
Angryman18 committed Aug 4, 2022
1 parent 7dc0c53 commit 9338ca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/createplay/CreatePlay.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ const CreatePlay = () => {
if (refreshToken) {
console.log(refreshToken);
} else {
window.location = NHOST.AUTH_URL('http:https://localhost:3000/plays/create');
window.location = NHOST.AUTH_URL(`http:https://localhost:${process.env.RAECT_APP_DEV_PORT ?? '3000'}/plays/create`);
return null;
}
} else {
Expand Down

0 comments on commit 9338ca8

Please sign in to comment.