Undefine result on DatabaseGpt.Web #77
-
Hi Marco, I am experiencing some challenges with my deployment on the server environment (IIS web). Specifically, I am encountering an "Undefined" error. While troubleshooting using the console version, I was able to view the results without any issues. Additionally, the web version I tested in Visual Studio worked perfectly. The error only occurs when the application is deployed on the server. I have attached screenshots from my troubleshooting process for reference. Is there a possibility that OpenAI is being blocked when deployed on the server? I would appreciate your help with this issue. Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 16 replies
-
Try to check in the Windows Event Viewer to see if you find some details about the problem. |
Beta Was this translation helpful? Give feedback.
The default configuration expects that the Application will be deployed on a top level domain. You're using a second level site, so you need to modify line 9 of
app.js
file removing the initial slash in thefetch
call.