I'm using 2.26.3 in wordpress project, and I get getting the wrong url when I echo out the get_template_directory_uri().
The expected output from get_template_directory_uri() would be http://localhost:3000/breakstuff/wp-content/themes/gulpwpstarter
But instead I get //localhost:3000/breakstuff/wp-content/themes/gulpwpstarter
Steps to reproduce/test case
Please provide necessary steps for reproduction of this issue, or better the
reduced test case (without any external dependencies).
Please specify which version of Browsersync, node and npm you're running
Browsersync [ 2.26.3 ]
Node [ 8.12.0 ]
Npm [ 6.4.1 ]
Affected platforms
[ ] linux
[ ] windows
[x] OS X
[ ] freebsd
[ ] solaris
[ ] other (please specify which)
Browsersync use-case
[ ] API
[x] Gulp
[ ] Grunt
[ ] CLI
for all other use-cases, (gulp, grunt etc), please show us exactly how you're using Browsersync
Issue details
Please provide issue details here.
I'm using 2.26.3 in wordpress project, and I get getting the wrong url when I echo out the get_template_directory_uri(). The expected output from get_template_directory_uri() would be http://localhost:3000/breakstuff/wp-content/themes/gulpwpstarter But instead I get //localhost:3000/breakstuff/wp-content/themes/gulpwpstarter
Steps to reproduce/test case
Please provide necessary steps for reproduction of this issue, or better the reduced test case (without any external dependencies).
Please specify which version of Browsersync, node and npm you're running
Affected platforms
Browsersync use-case
for all other use-cases, (gulp, grunt etc), please show us exactly how you're using Browsersync
const server = browserSync.create(); export const serve = done => { server.init({ proxy: 'http://localhost:8888/breakstuff/', }); done(); };