You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to use the pathprefix with the gatsby-starter-blog it is including the pathprefix on the sw.js include incorrectly: https://gregsqueeb.github.io/gregdmathews.com/ Instead of /gregdmathews.com/sw.js it is trying to include /gregdmathews.comsw.js which 404s.
Going to look into how to fix this now with a PR, but if you know where the issue is off the top of your head let me know and it could speed up me hunting down the problem :)
The text was updated successfully, but these errors were encountered:
…s properly. Fixing #1539 (#1540)
* Fixing #1539
The pathPrefix does not include the trailing slash so we have to make sure to include it so that sw.js gets loaded properly and does not 404
* Changing from '' to ``
When trying to use the pathprefix with the gatsby-starter-blog it is including the pathprefix on the sw.js include incorrectly: https://gregsqueeb.github.io/gregdmathews.com/ Instead of /gregdmathews.com/sw.js it is trying to include /gregdmathews.comsw.js which 404s.
Here is the repo that builds to that gh-pages as well. The only thing I have changed is adding the PathPrefix to the gatsbyconfig.
https://github.com/gregsqueeb/gregdmathews.com/tree/master
Going to look into how to fix this now with a PR, but if you know where the issue is off the top of your head let me know and it could speed up me hunting down the problem :)
The text was updated successfully, but these errors were encountered: