-
Notifications
You must be signed in to change notification settings - Fork 752
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
browser-sync-client script 404 when using <base> tag #437
Comments
Hi - I'm not entirely sure what you mean. You could provide a small, reduced test-case html page showing me exactly what you mean? |
Sure. <!doctype html>
<html>
<head>
<base href="http://www.google.com/" />
</head>
<body>
<h1>Hello World!</h1>
<img src="images/srpr/logo11w.png" alt="Google">
</body>
</html> The base tag throws off the |
Fixed in |
Confirmed 👍 |
OUCH! This actually caused a huge regression in BrowserSync and has been reverted in To mimic the fix though, you can easily use this option to get the same result. scriptPath: function (path, port, options) {
return options.get("absolute");
} |
Yes I get the same issue in 2.2.0 |
Is there a way to set |
@shakyShane Can we re-open this issue? It is still a problem. |
@evolutionxbox just use routes property and rewrite context served
|
When I include a
<base href="http://www.website.com/" />
tag, thebrowser-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
.The text was updated successfully, but these errors were encountered: