vscode-live-server icon indicating copy to clipboard operation
vscode-live-server copied to clipboard

Fix mime type issue

Open liz3 opened this issue 5 years ago • 1 comments

This pr is a second option to https://github.com/ritwickdey/vscode-live-server/pull/619

Rather then having a list of constants maps extension => mime type, this pr uses the mime package to retrieve the correct mime type. this addresses #202

i did attempt to use the exported mime property of send but that did seam dead lock the process.

Further i think its better to have a full set of mime types rather then relying on a hard coded list

liz3 avatar Mar 02 '20 06:03 liz3

@ritwickdey This seems like the best solution to couple of Content-Type mismatch issues. Could you please merge it?

RReverser avatar Mar 10 '20 12:03 RReverser