Update the route in the lib
This commit is contained in:
parent
049afb6eba
commit
779c6749ff
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ const CACHE_DURATION_MS = 5 * 60 * 1000; // Cache duration: 5 minutes
|
|||
|
||||
async function fetchConfig() {
|
||||
try {
|
||||
const response = await fetch('/api/config');
|
||||
const response = await fetch('/api/env');
|
||||
if (response.ok) {
|
||||
const data = await response.json();
|
||||
cachedConfig = data;
|
||||
|
|
Loading…
Add table
Reference in a new issue