cog: Cog fails to render local html file.
When I start cog with a local file as the url I get the raw html text instead of the rendered html.
This is how I’m launching cog:
/bin/cog --platform=fdo file:///var/www/frontend/index.html
Is this a bug or am I launching cog with the wrong options?
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 24 (18 by maintainers)
FYI I was able to fix the slow crng initialization by enabling
BR2_PACKAGE_HAVEGED
, this installs haveged which fills the entropy pool quickly and doesn’t require a hardware random number generator(which my system does not have), hard to say how high quality the entropy is but at least it doesn’t take 10 minutes to load the page anymore. See here for more details in regards to/dev/urandom
blocking.