You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The browser sync script file fails to load when an APP_BASE_HREF is used. What is the rationale behind of removing the leading slash of the script path here? If I comment out this line, it works!
🔬Minimal Reproduction
Create a project with CLI, add SSR support and replace this server.get('*' in the server.ts file with server.use('/path'. You need to set the APP_BASE_HREF for the browser to the same value /path.
…public host with a path name
We should only remove the leading slash of BrowserSync script when having a public host with a path name, this will other cause the browser sync script not to be found when using a base href.
Closes#1495
🐞 Bug report
What modules are related to this issue?
Description
The browser sync script file fails to load when an
APP_BASE_HREF
is used. What is the rationale behind of removing the leading slash of the script path here? If I comment out this line, it works!🔬Minimal Reproduction
Create a project with CLI, add SSR support and replace this
server.get('*'
in theserver.ts
file withserver.use('/path'
. You need to set theAPP_BASE_HREF
for the browser to the same value/path
.🌍Your Environment
The text was updated successfully, but these errors were encountered: