bluwy / create-vite-extra

Extra Vite templates
Other
391 stars 62 forks source link

fix: use send express method when sending html #47

Closed michaelchiche closed 8 months ago

michaelchiche commented 8 months ago

You should have best practices in the code, using .end instead of .send made be pull my hair for too long. Using .end breaks etags for example.

http://expressjs.com/en/4x/api.html#res.end