Deploy Nodejs on Heroku fails serving static files located in subfolders

前端 未结 6 1720
一整个雨季
一整个雨季 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条回答
  •  -上瘾入骨i
    2020-11-30 12:46

    I struggled with this for a while and had to revert to using /public (from /dist) as the static folder - works perfectly now

提交回复
热议问题