one-click-hugo-cms icon indicating copy to clipboard operation
one-click-hugo-cms copied to clipboard

404 for app.js

Open gp-dublincentral opened this issue 5 years ago • 3 comments

- Do you want to request a feature or report a bug? Report a bug

- What is the current behavior? There's a reference to app.js that is generating a 404

- If the current behavior is a bug, please provide the steps to reproduce. Deploy https://github.com/netlify-templates/one-click-hugo-cms to Netlify Access the homepage the bottom of the homepage source contains the following HTML

<script src="/app.js"></script> but that file generates a 404

See fresh deploy here https://quizzical-aryabhata-bec172.netlify.com/ this is the file it tries to load https://quizzical-aryabhata-bec172.netlify.com/app.js

- What is the expected behavior? Either the reference should not be there or the file should be. There is an app.js in the git repo, I presume this is what should be in the dist folder https://github.com/netlify-templates/one-click-hugo-cms/blob/master/src/js/app.js

- Please mention your node.js, NPM, Hugo and operating system version. Just deployed https://github.com/netlify-templates/one-click-hugo-cms to Netlify

gp-dublincentral avatar Aug 08 '19 21:08 gp-dublincentral

Thanks for opening! If you're up for taking a swing at this we'd definitely be open to a PR to fix.

erquhart avatar Aug 09 '19 23:08 erquhart

Pull request submitted

gp-dublincentral avatar Aug 12 '19 14:08 gp-dublincentral

https://github.com/netlify-templates/one-click-hugo-cms/pull/192 for the record @erquhart

raphink avatar Feb 04 '21 00:02 raphink