@CHillR After reviewing the deployment logs, we identified that the issue preventing the web application from landing on the home page is related to a misconfigured environment variable. The logs indicate that the BASE_URL
variable is set incorrectly, leading to improper routing.
Diagnosis from Logs:
Error: Unable to resolve route. BASE_URL points to /app/v2 instead of /
Quick Solution:
Update Environment Variable:
- Locate the environment configuration file (e.g.,
.env
,appsettings.json
) on your server.- Correct the
BASE_URL
variable to point to the root directory (/
).
.env
file:
Restart the Application:BASE_URL
- After updating the configuration, restart the application to apply the changes. This can typically be done using your process manager (e.g., `pm2 restart <app_name>`, `systemctl restart <service_name>`, or similar command). **Verify the Fix:** - Once the application has restarted, attempt to access the home page again to ensure that the issue is resolved.
- Correct the
By updating the BASE_URL
to the correct path and restarting the application, your web app should now correctly land on the home page. If you encounter any further issues, feel free to reach out for additional assistance.