Va1 / browser-sync-webpack-plugin

Easily use BrowserSync in your Webpack project.
MIT License
369 stars 40 forks source link

How don't restrict CORS? #76

Open iamgbayer opened 5 years ago

iamgbayer commented 5 years ago

Hi,

I have set cors: true at my config, because I thought that are equals Access-Control-Allow-Origin: *, but it's not working.

Can you help me?

Va1 commented 4 years ago

hi,

sorry for delayed reply.

not sure i understood what are you trying to achieve, tbh. first argument of the plugin are options which are passed to browser-sync directly, so if cors is a valid option, it should work. that's my guess.

please, provide more details if this is still an issue.

thanks