Skip to content

Commit

Permalink
NEXT_PUBLIC_EXTENSION_URL
Browse files Browse the repository at this point in the history
  • Loading branch information
bookpanda committed Oct 9, 2024
1 parent 42e4be2 commit 2ab5f3e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions frontend/.env.template
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
NEXT_PUBLIC_RECENT_COURSES_TTL=31536000000 # 1 year
NEXT_PUBLIC_EXTENSION_URL=
API_URL=http://localhost:5203
API_KEY=apikey
EXTENSION_URL=
API_KEY=apikey
2 changes: 1 addition & 1 deletion frontend/src/config/config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export const API_URL = process.env.API_URL;
export const API_KEY = process.env.API_KEY;
export const EXTENSION_URL = process.env.EXTENSION_URL ?? "";
export const EXTENSION_URL = process.env.NEXT_PUBLIC_EXTENSION_URL ?? "";

export const RECENT_COURSES_TTL = parseInt(
process.env.NEXT_PUBLIC_RECENT_COURSES_TTL ?? "",
Expand Down

0 comments on commit 2ab5f3e

Please sign in to comment.