hardcode redir for vercel deploy

This commit is contained in:
Timur Ercan
2023-01-14 15:24:32 +01:00
parent cc57b90295
commit 0258f8c505
3 changed files with 3 additions and 3 deletions

View File

@ -29,7 +29,7 @@ export default function Login() {
// If not absolute URL, make it absolute
if (!/^https?:\/\//.test(callbackUrl)) {
callbackUrl = `http://localhost:3000/${callbackUrl}`;
callbackUrl = `https://app.documenso.com/${callbackUrl}`;
}
const onSubmit = async (values: LoginValues) => {