Deploy Nodejs on Heroku fails serving static files located in subfolders

前端 未结 6 1731
一整个雨季
一整个雨季 2020-11-30 12:30

I\'m deploying a NodeJs application using Heroku. Everything works fine except a little issue serving static files.

I have the following configuration



        
6条回答
  •  情书的邮戳
    2020-11-30 13:09

    I solved the problem in my case by removing the public folder from the .gitignore file. I don't know what it was doing there.

提交回复
热议问题