Skip to content
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

Clarify best app base path (<base> tag) location #33802

Merged
merged 2 commits into from
Oct 6, 2024
Merged

Conversation

guardrex
Copy link
Collaborator

@guardrex guardrex commented Oct 6, 2024

Fixes #33797

Thanks @tobbi! 🚀 ... I'll let this sit until Monday morning to give you a chance to look/comment on it.


Internal previews

📄 File 🔗 Preview link
aspnetcore/blazor/host-and-deploy/index.md aspnetcore/blazor/host-and-deploy/index

@guardrex guardrex self-assigned this Oct 6, 2024
@tobbi
Copy link

tobbi commented Oct 6, 2024

This works, I guess. I would've maybe phrased it a bit differently, because declaring the base path before any asset paths (js files, css files, etc.) is mandatory. It doesn't need to be at the start of the head tag, just before any relative paths are referenced. The way you wrote it makes it sound like it's optional.

Could be that it's just me. I'd like others to chime in as well.

@guardrex guardrex merged commit 0a51f3b into main Oct 6, 2024
3 checks passed
@guardrex guardrex deleted the guardrex-patch-4 branch October 6, 2024 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants