We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<base>
href
In storybook I get this error
Uncaught TypeError: Cannot read property 'replace' of null
on this line
ember.js/packages/@ember/-internals/routing/lib/location/history_location.ts
Line 124 in d96d9aa
because baseUrl is null and not a string like it look like that line is assuming.
baseUrl
null
The base tag looks like this (from here):
<base target="_parent">
Would it work to change this line
Line 81 in d96d9aa
to
baseURL = base.getAttribute('href') || '';
or is there a problem with setting baseUrl to ''?
''
The text was updated successfully, but these errors were encountered:
Hmm, I think the more appropriate solution here would be to treat having a <base> without an href as having no <base> at all. What do you think?
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
In storybook I get this error
on this line
ember.js/packages/@ember/-internals/routing/lib/location/history_location.ts
Line 124 in d96d9aa
because
baseUrl
isnull
and not a string like it look like that line is assuming.The base tag looks like this (from here):
solution suggestions
Would it work to change this line
ember.js/packages/@ember/-internals/routing/lib/location/history_location.ts
Line 81 in d96d9aa
to
or is there a problem with setting
baseUrl
to''
?The text was updated successfully, but these errors were encountered: