This commit is contained in:
Kenneth Jannette
2024-02-11 18:39:44 -06:00
parent 4604ac52db
commit e734fdb971
5 changed files with 6 additions and 4 deletions

View File

@@ -266,7 +266,7 @@ const DocEditPage = () => {
try {
setIsLoading(true);
fetch(
`${apiUrl}/genResponseFromArrayCombined/${documentId}/${docType}/${isRequests}`,
`https://www.novodraft.ai:4000/genResponseFromArrayCombined/${documentId}/${docType}/${isRequests}`,
{
method: "GET",
}
@@ -305,7 +305,7 @@ const DocEditPage = () => {
try {
setIsLoading(true);
fetch(
`${apiUrl}/genResponseFromArray/${documentId}/${docType}/${isRequests}`,
`https://www.novodraft.ai:4000/genResponseFromArray/${documentId}/${docType}/${isRequests}`,
{
method: "GET",
}

View File

@@ -42,6 +42,9 @@ const DocumentListPage = ({ perPage }) => {
? process.env.REACT_APP_API_DEV
: process.env.REACT_APP_API_PROD;
console.log("process.env.NODE_ENV", process.env.NODE_ENV);
console.log("process.env.REACT_APP_API_PROD", process.env.REACT_APP_API_PROD);
console.log("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~apiUrl", apiUrl);
useEffect(() => {
if (count.current == null) {
setIsMobile(window.innerWidth < 440);