After setting up Dify 1.10.1 on the Ugreen NAS, uploading documents to the knowledge base results in an error.

The error message is: {"code":"unauthorized","message":"CSRF token is missing or invalid.","status":401}. I tried methods such as disabling Dify CSRF, but none worked. How can I resolve this?