Skip to content

Commit

Permalink
fix: switch to dynamic private env (rivenmedia#523)
Browse files Browse the repository at this point in the history
* fix: switch to dynamic private env

* fix: switch to dynamic private env
  • Loading branch information
AyushSehrawat authored Jul 14, 2024
1 parent eb8d3d0 commit 0355e64
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/src/routes/settings/general/+page.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ import {
generalSettingsToSet
} from '$lib/forms/helpers';
import { setSettings, saveSettings, loadSettings } from '$lib/forms/helpers.server';
import { BACKEND_URL } from '$env/static/private';
import { env } from '$env/dynamic/private';
const BACKEND_URL = env.BACKEND_URL || 'http://127.0.0.1:8080';

export const load: PageServerLoad = async ({ fetch }) => {
async function getPartialSettings() {
Expand Down

0 comments on commit 0355e64

Please sign in to comment.