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
{{ message }}
This repository has been archived by the owner on Mar 18, 2022. It is now read-only.
The situation is that you start the server and an asset you have specified in the html/css does not exist on the filesystem. What should happen in this case? Should the html tag still be rendered and in that case what should the ?cache parameter be set to?
If you get rid of the fs.exists check it will throw an exception at server start which might be a better way of handling the error?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In function
renderTag()
the cache timestamp is determined, but only set if the file exists. As you can see, this will never work.The situation is that you start the server and an asset you have specified in the html/css does not exist on the filesystem. What should happen in this case? Should the html tag still be rendered and in that case what should the
?cache
parameter be set to?If you get rid of the
fs.exists
check it will throw an exception at server start which might be a better way of handling the error?The text was updated successfully, but these errors were encountered: