Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

404 for app.js #187

Open
gp-dublincentral opened this issue Aug 8, 2019 · 3 comments
Open

404 for app.js #187

gp-dublincentral opened this issue Aug 8, 2019 · 3 comments

Comments

@gp-dublincentral
Copy link

- 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

@erquhart
Copy link
Contributor

erquhart commented Aug 9, 2019

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

gp-dublincentral pushed a commit to gp-dublincentral/one-click-hugo-cms that referenced this issue Aug 12, 2019
@gp-dublincentral
Copy link
Author

Pull request submitted

@raphink
Copy link

raphink commented Feb 4, 2021

#192 for the record @erquhart

maxcell pushed a commit to gp-dublincentral/one-click-hugo-cms that referenced this issue Jul 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants