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
What do I need to do to get this to work? It works for other files such as json but not with html? json files used to failed too, but after I turned on cors: true then it worked for json but doesn't seems to be the case for html.
The text was updated successfully, but these errors were encountered:
Environment
lite-server
version: 2.6.1nodejs
version: 10.24.1npm
version: 6.14.12When trying to proxy an html file, I am getting this error in the browser:
Then in the lite-server side, it logged:
What do I need to do to get this to work? It works for other files such as json but not with html? json files used to failed too, but after I turned on
cors: true
then it worked for json but doesn't seems to be the case for html.The text was updated successfully, but these errors were encountered: