Unable to Access Custom Doctypes After Pushing to Production

I have created an app with custom doctypes on my local setup and pushed the code to the production server. However, I am unable to open those doctypes on the production server. When I try to open them, I encounter the following issue.
Screenshot from 2024-09-18 10-54-35
The files have been successfully created on the server.
Screenshot from 2024-09-18 10-55-57
Upon inspecting the issue in the browser, I get the following error.



Could anyone guide me on how to resolve this issue?

Same Topic: Unable to Access Custom Doctypes After Pushing to Production