Skip to content

Commit 1b3477a

Browse files
committed
fix: update API URL to use VITE_DEPLOYSTACK_BACKEND_URL in Login and Register components
1 parent eaad7c3 commit 1b3477a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

services/frontend/src/views/Login.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ const onSubmit = form.handleSubmit(async (values) => {
164164
165165
import { getEnv, getAllEnv } from '@/utils/env';
166166
167-
const apiUrl = getEnv('VITE_DEPLOYSTACK_APP_URL');
167+
const apiUrl = getEnv('VITE_DEPLOYSTACK_BACKEND_URL');
168168
169169
const allEnv = getAllEnv();
170170

services/frontend/src/views/Register.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const successMessage = ref('')
3737
const { t } = useI18n() // Initialize i18n composable
3838
3939
// Get API URL from environment
40-
const apiUrl = getEnv('VITE_DEPLOYSTACK_APP_URL')
40+
const apiUrl = getEnv('VITE_DEPLOYSTACK_BACKEND_URL')
4141
4242
// Define validation schema using Zod
4343
const formSchema = toTypedSchema(

0 commit comments

Comments
 (0)