fix: remove video-query references and update config.js

This commit is contained in:
michael 2025-11-20 08:40:14 -06:00
parent b57cbfc3ae
commit 502cf5b61b
3 changed files with 5 additions and 5 deletions

View file

@ -20,7 +20,7 @@ echo "1. Copy build files to your web server at any path:"
echo " Example: scp -r build/* user@server:/var/www/html/your-app-path/"
echo ""
echo "2. Update config.json on your server:"
echo " - Set 'basePath' to match your deployment path (e.g., '/video_query', '/video-query')"
echo " - Set 'basePath' to match your deployment path (e.g., '/video_query')"
echo " - Set 'domain' to your server's domain"
echo " - Update MSAL and API endpoints as needed"
echo ""

View file

@ -1,12 +1,12 @@
window.__APP_CONFIG__ = {
"_comment": "PRODUCTION CONFIG - Dynamic base path configuration - set basePath to override auto-detection",
"basePath": "/video-query",
"basePath": "/video_query",
"domain": "https://brandtechsandbox.oliver.solutions",
"msal": {
"clientId": "9079054c-9620-4757-a256-23413042f1ef",
"authority": "https://login.microsoftonline.com/e519c2e6-bc6d-4fdf-8d9c-923c2f002385",
"redirectUri": "https://brandtechsandbox.oliver.solutions/video-query/",
"postLogoutRedirectUri": "https://brandtechsandbox.oliver.solutions/video-query/",
"redirectUri": "https://brandtechsandbox.oliver.solutions/video_query/",
"postLogoutRedirectUri": "https://brandtechsandbox.oliver.solutions/video_query/",
"tenantId": "e519c2e6-bc6d-4fdf-8d9c-923c2f002385"
},
"api": {

View file

@ -42,7 +42,7 @@ const detectBasePath = () => {
// Common patterns for where React apps are deployed
const commonAppPaths = [
'video_query', 'video-query', 'videoquery',
'video_query', 'videoquery',
'app', 'frontend', 'client', 'ui', 'web'
];