updated environment file
This commit is contained in:
parent
29d0c8a2a2
commit
6a70ebb2a2
4 changed files with 14 additions and 4 deletions
3
.env
3
.env
|
|
@ -1,5 +1,4 @@
|
||||||
VITE_API_URL="https://gateway.poweron-center.net"
|
VITE_API_URL="http://127.0.0.1:8000"
|
||||||
#VITE_API_URL="http://127.0.0.1:8000"
|
|
||||||
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"
|
||||||
|
|
|
||||||
7
.env.production
Normal file
7
.env.production
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
VITE_API_URL="https://gateway-int.poweron-center.net"
|
||||||
|
VITE_MICROSOFT_CLIENT_ID="24cd6c8a-b592-4905-a5ba-d5fa9f911154"
|
||||||
|
VITE_MICROSOFT_TENANT_ID="6a51aaeb-2467-4186-9504-2a05aedc591f"
|
||||||
|
VITE_ENTRA_CLIENT_SECRET="2iw8Q~jwqG1iacxHopBt5pstu6R45UC1gIQabcbD"
|
||||||
|
VITE_ENTRA_AUTHORITY="https://login.microsoftonline.com/6a51aaeb-2467-4186-9504-2a05aedc591f"
|
||||||
|
VITE_ENTRA_REDIRECT_PATH="/auth/callback/"
|
||||||
|
VITE_ENTRA_REDIRECT_URI="https://gateway.poweron-center.net/api/msft/auth/callback/"
|
||||||
5
.gitignore
vendored
5
.gitignore
vendored
|
|
@ -22,3 +22,8 @@ dist-ssr
|
||||||
*.njsproj
|
*.njsproj
|
||||||
*.sln
|
*.sln
|
||||||
*.sw?
|
*.sw?
|
||||||
|
|
||||||
|
# Environment files
|
||||||
|
.env
|
||||||
|
.env.local
|
||||||
|
.env.*.local
|
||||||
|
|
@ -2,8 +2,7 @@
|
||||||
import axios from 'axios';
|
import axios from 'axios';
|
||||||
|
|
||||||
const api = axios.create({
|
const api = axios.create({
|
||||||
baseURL: 'https://gateway-int.poweron-center.net',
|
baseURL: import.meta.env.VITE_API_BASE_URL,
|
||||||
//baseURL: 'http://localhost:8000',
|
|
||||||
withCredentials: true
|
withCredentials: true
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue