Skip to content

Commit

Permalink
allow http in development (#2321)
Browse files Browse the repository at this point in the history
  • Loading branch information
AhmedCodeGuy authored Feb 22, 2025
1 parent 67c310e commit e3db813
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/url.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const navigateToExternalUrl = (url: string) => {
* @returns {string}
*/
export const getBasePath = (): string =>
`${process.env.NEXT_PUBLIC_VERCEL_ENV === 'development' ? 'https' : 'https'}://${
`${process.env.NEXT_PUBLIC_VERCEL_ENV === 'development' ? 'http' : 'https'}://${
process.env.NEXT_PUBLIC_VERCEL_URL
}`;

Expand Down

0 comments on commit e3db813

Please sign in to comment.