Unrated orders error fixed

This commit is contained in:
Sidharth Prabhu
2026-08-04 14:21:14 +05:30
parent f898adff22
commit 5fa3a57e84
8 changed files with 30 additions and 17 deletions

View File

@@ -0,0 +1,6 @@
export const getApiBaseUrl = (): string => {
if (window.location.protocol === 'https:') {
return 'https://cmsapi.rit-services.in';
}
return `http://${window.location.hostname}:8080`;
};