Update registration flow and API configuration

Removed "/register" route and updated registration link to external URL. Switched API configuration to development mode with updated API endpoint. These changes streamline the user experience and improve environment configuration consistency.
This commit is contained in:
Jepp9350
2025-04-10 15:58:00 +02:00
parent 43f5807e54
commit 8bbc414ad6
3 changed files with 4 additions and 10 deletions
@@ -65,7 +65,7 @@ const redirect = (path) => {
<a href="#" class="dropdown-item" @click="redirect('/login')"> <!-- Redirect to the login page -->
<p class="is-size-7">Log ind</p>
</a>
<a href="#" class="dropdown-item" @click="redirect('/register')"> <!-- Redirect to the register page -->
<a href="#" class="dropdown-item" @click="SessionUser.functions.redirectTo.external('https://www.truckwash.dk/opret-kredit-konto/', true)"> <!-- Redirect to the register page -->
<p class="is-size-7">Opret bruger</p>
</a>
</div>
@@ -16,12 +16,6 @@ const menu_items = ref([
icon: 'fas fa-sign-in-alt',
children: []
},
{
name: 'Opret en konto',
route: '/register',
icon: 'fas fa-user-plus',
children: [],
},
{
name: 'Book vask med reference',
route: '/guest/book/wash',
+3 -3
View File
@@ -2,9 +2,9 @@ import '@/themes/Dark.sass';
import '@popperjs/core';
//export const API_URL = 'https://truckwashdev.maintenancemode.cloud';
//export const API_URL = 'https://nnks.truckwash.dk';
export const IS_DEV = false;
//export const API_URL = 'https://api.truckwash.dk:4433';
export const API_URL = 'https://api.truckwash.dk';
export const IS_DEV = true;
export const API_URL = 'https://api.truckwash.dk:4433';
//export const API_URL = 'https://api.truckwash.dk';
import { createApp } from 'vue'
import App from './App.vue'
import store from './store/user.vue'