More
This commit is contained in:
@@ -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",
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user