homestead - BrowserSync proxy not rewriting host in URLs -


i using browsersync proxy proxy laravel homestead instance.

i used hostname target dns had issues resolving changed following:

browsersync.init({     proxy: {         target: "192.168.10.10",         reqheaders: function (config) {             return {                 "host": "example.dev",             }         },     } }); 

the issue urls in response still original, e.g.:

<link rel="stylesheet" href="http://example.dev/builds/css/main.css" /> 

i assume should this:

<link rel="stylesheet" href="http://localhost:3000/builds/css/main.css" /> 

anyone know why happening or whether may bug?


Comments

Popular posts from this blog

How to provide Authorization & Authentication using Asp.net, C#? -

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

How to use Authorization & Authentication in Asp.net, C#? -