changed routes
This commit is contained in:
parent
59018ece4e
commit
9e8d34a7ac
3 changed files with 4 additions and 4 deletions
4
.env
4
.env
|
|
@ -1,8 +1,8 @@
|
||||||
VITE_API_URL="http://127.0.0.1:8000"
|
VITE_API_URL="https://gateway.poweron-center.net"
|
||||||
|
|
||||||
VITE_MICROSOFT_CLIENT_ID="24cd6c8a-b592-4905-a5ba-d5fa9f911154"
|
VITE_MICROSOFT_CLIENT_ID="24cd6c8a-b592-4905-a5ba-d5fa9f911154"
|
||||||
VITE_MICROSOFT_TENANT_ID="6a51aaeb-2467-4186-9504-2a05aedc591f"
|
VITE_MICROSOFT_TENANT_ID="6a51aaeb-2467-4186-9504-2a05aedc591f"
|
||||||
VITE_ENTRA_CLIENT_SECRET="2iw8Q~jwqG1iacxHopBt5pstu6R45UC1gIQabcbD"
|
VITE_ENTRA_CLIENT_SECRET="2iw8Q~jwqG1iacxHopBt5pstu6R45UC1gIQabcbD"
|
||||||
VITE_ENTRA_AUTHORITY="https://login.microsoftonline.com/6a51aaeb-2467-4186-9504-2a05aedc591f"
|
VITE_ENTRA_AUTHORITY="https://login.microsoftonline.com/6a51aaeb-2467-4186-9504-2a05aedc591f"
|
||||||
VITE_ENTRA_REDIRECT_PATH="/auth/callback/"
|
VITE_ENTRA_REDIRECT_PATH="/auth/callback/"
|
||||||
VITE_ENTRA_REDIRECT_URI="https://127.0.0.1:8000/auth/callback/"
|
VITE_ENTRA_REDIRECT_URI="https://gateway.poweron-center.net/api/msft/auth/callback/"
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
import axios from 'axios';
|
import axios from 'axios';
|
||||||
|
|
||||||
const api = axios.create({
|
const api = axios.create({
|
||||||
baseURL: 'http://127.0.0.1:8000',
|
baseURL: 'https://gateway.poweron-center.net',
|
||||||
withCredentials: true
|
withCredentials: true
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@ export function useAuth(): UseAuthReturn {
|
||||||
|
|
||||||
// Create a custom axios instance for this request
|
// Create a custom axios instance for this request
|
||||||
const instance = axios.create({
|
const instance = axios.create({
|
||||||
baseURL: 'http://127.0.0.1:8000',
|
baseURL: 'https://gateway.poweron-center.net',
|
||||||
withCredentials: true,
|
withCredentials: true,
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/x-www-form-urlencoded'
|
'Content-Type': 'application/x-www-form-urlencoded'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue