Closed DSosinski closed 3 years ago
I deployed with AWS Amplify. Localhost works fine but deployed version opens blank page when clicking posts. I checked Firefox console and got a lot of 404 messages with following https://master.d31..3zj7ey1hm.amplifyapp.com/blog/post-1/plugins/bootstrap/bootstrap.min.css/ GET https://master.d31..3zj7ey1hm.amplifyapp.com/blog/post-1/images/featured-post/post-1.jpg/ GET https://master.d31..3zj7ey1hm.amplifyapp.com/blog/post-1/plugins/jQuery/jquery.min.js/
It seems like site loads with /blog/post-1/...
Any suggestions
Thanks, D
Resolved.
I added following environment vars and redeployed
HUGO_VERSION = "0.73.0" HUGO_BASEURL = "/"
I deployed with AWS Amplify. Localhost works fine but deployed version opens blank page when clicking posts. I checked Firefox console and got a lot of 404 messages with following https://master.d31..3zj7ey1hm.amplifyapp.com/blog/post-1/plugins/bootstrap/bootstrap.min.css/ GET https://master.d31..3zj7ey1hm.amplifyapp.com/blog/post-1/images/featured-post/post-1.jpg/ GET https://master.d31..3zj7ey1hm.amplifyapp.com/blog/post-1/plugins/jQuery/jquery.min.js/
It seems like site loads with /blog/post-1/...
Any suggestions
Thanks, D