After this change, when I try to visit my application and after confirming credentials, the application is not loaded and in the console, there are these errors:
`
Object { _e: Error, name: "DatabaseClosedError", message: "InvalidStateError A mutation operation was attempted on a database that did not allow mutations.\n InvalidStateError: A mutation operation was attempted on a database that did not allow mutations.", inner: {…}, stack: "" } index.020772d9.js:31:72520
Object { _e: Error, name: "DatabaseClosedError", message: "InvalidStateError A mutation operation was attempted on a database that did not allow mutations.\n InvalidStateError: A mutation operation was attempted on a database that did not allow mutations.", inner: {…}, stack: "" } index.020772d9.js:31:72520
Object { _e: Error, name: "DatabaseClosedError", message: "InvalidStateError A mutation operation was attempted on a database that did not allow mutations.\n InvalidStateError: A mutation operation was attempted on a database that did not allow mutations.", inner: {…}, stack: "" }
`
Is there any option to secure the app under username/password protection so it can not be visited by everyone?
Hi, I am trying to secure access to my chatpad.ai application running inside docker on my vps.
simply adding the following to my nginx website.conf:
After this change, when I try to visit my application and after confirming credentials, the application is not loaded and in the console, there are these errors:
` Object { _e: Error, name: "DatabaseClosedError", message: "InvalidStateError A mutation operation was attempted on a database that did not allow mutations.\n InvalidStateError: A mutation operation was attempted on a database that did not allow mutations.", inner: {…}, stack: "" } index.020772d9.js:31:72520
Object { _e: Error, name: "DatabaseClosedError", message: "InvalidStateError A mutation operation was attempted on a database that did not allow mutations.\n InvalidStateError: A mutation operation was attempted on a database that did not allow mutations.", inner: {…}, stack: "" } index.020772d9.js:31:72520
Object { _e: Error, name: "DatabaseClosedError", message: "InvalidStateError A mutation operation was attempted on a database that did not allow mutations.\n InvalidStateError: A mutation operation was attempted on a database that did not allow mutations.", inner: {…}, stack: "" } `
Is there any option to secure the app under username/password protection so it can not be visited by everyone?
Thanks for the advice.