-
-
Notifications
You must be signed in to change notification settings - Fork 134
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
favicon.ico files are all broken #688
Comments
Hey @huochunpeng. Where is this part coming from?
Also, could you tell me what the error is that you get in the browser? |
These are the files location in cli source code. One of the favicon.ico is copied to app root directory when The favicon.ico in the bootstrapped app can not be viewed in any tool. Manual visit at http://localhost:9000/favicon.ico yields broken file. Firefox says cannot be displayed because it has errors. |
Oh yeah, I see the error in firefox now too when I try and open the favicon. Would you like to create a PR and update the favicons with this one? |
Thanks for the invitation. But I am too lazy for a PR, not that obsessed to show my name in the git log. It would be easier for you to just commit directly. Need to add Note, the existing broken favicons are png format too, but they are still broken png files. |
may consider using this: http://realfavicongenerator.net/ |
@JeroenVinke this issue need to be reopened. App created by cli still has broken The real issue is Line 145 in 15b1f1f
That line then use Line 68 in 15b1f1f
To process all files in The result is copied We need another api on ProjectItem to support copying binary file which should use default encoding |
aren't there fs.copy or something? |
@Alexander-Taran thx. I will try to refactor the code to use fs.copyFile which makes more sense. |
@huochunpeng while you at it, may as well check this one? |
Could not use fs.copyFile due to |
@JeroenVinke PR waiting to fix favicon |
I'm submitting a bug report
0.30.1
Please tell us about your environment:
Operating System:
OSX 10.x
Node Version:
All
NPM Version:
All
Browser:
all
Language:
all
Current behavior:
Did anyone notice the
favicon.ico
files are all broken?I cannot view the files locally.
Browser also reports the file has error when viewing deployed app.
Expected/desired behavior:
Not an issue on production app, since every app will replace the default favicon. But broken file is just annoying.
What is the expected behavior?
What is the motivation / use case for changing the behavior?
The text was updated successfully, but these errors were encountered: