Skip to content
This repository has been archived by the owner on Nov 18, 2024. It is now read-only.

Commit

Permalink
Update consts.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Looskie authored Oct 5, 2022
1 parent 95fda49 commit 75ae53a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/utils/consts.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const IS_PROD = process.env.NODE_ENV === "production";
export const BASE_URI = IS_PROD ? "https://api.hits.link" : "http://localhost";
export const BASE_URI = IS_PROD ? "https://hits.hop.sh" : "http://localhost";
export const API_URL = `${BASE_URI}/v1`;
export const WEBSITE_REGEX =
/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*)/;

1 comment on commit 75ae53a

@vercel
Copy link

@vercel vercel bot commented on 75ae53a Oct 5, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.