Skip to content

Commit

Permalink
fix: remove unused env var (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
usirin committed May 21, 2023
1 parent eb10b0d commit 819a3a5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion .env.sample
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
NEXT_PUBLIC_BASE_URL=https://apigo.afetharita.com
7 changes: 0 additions & 7 deletions src/utils/constants.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
if (!process.env.NEXT_PUBLIC_BASE_URL) {
throw new Error(
"NEXT_PUBLIC_BASE_URL is not defined, change .env.sample filename to .env.development to fix it"
);
}

export const BASE_URL = process.env.NEXT_PUBLIC_BASE_URL as string;
export const EXPAND_COORDINATE_BY_VALUE = 0.02;
export const REQUEST_THROTTLING_INITIAL_SEC = 10;

Expand Down

0 comments on commit 819a3a5

Please sign in to comment.