Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Conversation

@jrowny
Copy link
Contributor

@jrowny jrowny commented Mar 22, 2013

Now that the static server exists, I believe that checking for type should be done by the canServe function of the provider. The StaticProvider already checks for HTML extension, so this line of code can not be executed anyway. This is a temporary fix as a longer term re-factoring is need.

@ghost ghost assigned redmunds Mar 22, 2013
@redmunds
Copy link
Contributor

The intent for the code being changed here is to prevent user from using Live Dev on non-HTML files, but that is apparently being prevented elsewhere, because I cannot find anything that is broken with this change.

Looks good. Merging.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants