-
Notifications
You must be signed in to change notification settings - Fork 477
New issue
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
chore(demo): use baseHref=/
instead of baseHref=./
#8526
Conversation
Pull request was closed ✔️All saved screenshots (for current PR) were deleted 🗑️ |
Visit the preview URL for this PR (updated for commit 4771a35): https://taiga-ui--pr8526-base-href-refactor-v-utvbz43n.web.app (expires Thu, 15 Aug 2024 17:46:39 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 4b5ece1e114386f6a105425ef799091475b249eb |
BundleMonFiles updated (3)
Unchanged files (2)
Total files change +5.3KB +0.8% Groups updated (1)
Final result: ✅ View report in BundleMon website ➡️ |
c60db69
to
028ab8a
Compare
0b47990
to
68e5a8c
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## v3.x #8526 +/- ##
=======================================
Coverage ? 66.54%
=======================================
Files ? 199
Lines ? 2203
Branches ? 278
=======================================
Hits ? 1466
Misses ? 701
Partials ? 36
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
useFactory: () => inject(DOCUMENT).querySelector('base')?.href || '/', | ||
useFactory: () => | ||
inject(DOCUMENT).querySelector('base')?.getAttribute('href') || '/', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<base href="/v3/">
document.querySelector('base').href; // https://taiga-ui.dev/v3/
document.querySelector('base').getAttribute('href'); // /v3/
baseHref=/
instead of baseHref=./
baseHref=/
instead of baseHref=./
baseHref=/
instead of baseHref=./
baseHref=/
instead of baseHref=./
baseHref=/
instead of baseHref=./
baseHref=/
instead of baseHref=./
No description provided.