question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

browser-sync-client script 404 when using <base> tag

See original GitHub issue

When I include a <base href="http://www.website.com/" /> tag, the browser-sync-client.1.9.1.js makes a request to that base url rather than localhost, causing a 404.

Is it possible to use <base> with BrowserSync?

Running 1.9.0.

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
shakyShanecommented, Feb 17, 2015

tumblr_m0osrrhqmk1qzcv7no4_250

1reaction
shakyShanecommented, Feb 17, 2015

Fixed in browser-sync@2.1.2

Read more comments on GitHub >

github_iconTop Results From Across the Web

browser-sync-client script 404 when using <base> tag #437
When I include a tag, the browser-sync-client.1.9.1.js makes a request to that base url rather than localhost, causing a 404.
Read more >
Browser loads assets twice after a dynamically added base ...
It's likely that the browser is loading the assets before the base tag is written by JavaScript (i.e. it loads them before any...
Read more >
Browsersync options
These are all the options that you can configure when using Browsersync. Create a single object and pass it as the first argument...
Read more >
The Document Base URL element - HTML - MDN Web Docs
The HTML element specifies the base URL to use for all relative URLs in a document. There can be only one element in...
Read more >
Track and View 404 Errors with Google Analytics 4
Learn how to track 404 errors with Google Analytics. In this blog post I have covered three options, one of them includes Google...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found