File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 } ( window . location ) ) ;
1717 </ script >
1818 < script src ="./runtime-config.js "> </ script >
19- < script type ="module " crossorigin src ="./assets/index-DjvJJquR .js "> </ script >
19+ < script type ="module " crossorigin src ="./assets/index-ZRLhGAqz .js "> </ script >
2020 < link rel ="stylesheet " crossorigin href ="./assets/index-BUdkLrW0.css ">
2121 </ head >
2222 < body >
Original file line number Diff line number Diff line change @@ -9,7 +9,9 @@ const envApiBase = normalizeBaseUrl(import.meta.env.VITE_API_BASE);
99const hostname = typeof window !== 'undefined' ? window . location . hostname : '' ;
1010const isLocalhost = / ^ ( l o c a l h o s t | 1 2 7 \. 0 \. 0 \. 1 ) $ / i. test ( hostname ) ;
1111
12- const fallbackApiBase = isLocalhost ? 'http://localhost:3001' : '' ;
12+ const fallbackApiBase = isLocalhost
13+ ? 'http://localhost:3001'
14+ : 'https://api-myaichatbotproject.onrender.com' ;
1315const configuredApiBase = runtimeApiBase || envApiBase || fallbackApiBase ;
1416
1517const runtimeOffline = typeof window !== 'undefined' ? window . __IS_OFFLINE__ : undefined ;
You can’t perform that action at this time.
0 commit comments