diff --git a/frontend/.env.template b/frontend/.env.template index b4a2581..a5ba90b 100644 --- a/frontend/.env.template +++ b/frontend/.env.template @@ -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= \ No newline at end of file +API_KEY=apikey \ No newline at end of file diff --git a/frontend/src/config/config.ts b/frontend/src/config/config.ts index 240400f..3c22ae2 100644 --- a/frontend/src/config/config.ts +++ b/frontend/src/config/config.ts @@ -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 ?? "",