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

Fix the import for apps with a base path #3092

Merged
merged 1 commit into from
Dec 2, 2024
Merged

Conversation

mattleibow
Copy link
Contributor

Description of Change

The changes in #3064 resolved many issues, but when we tried to account for the fact that the new loading mechanisms used a different path, we forced an absolute path. This does not work when using a custom base path.

This PR uses the recommended way of a relative path as seen in the docs: https://learn.microsoft.com/aspnet/core/blazor/javascript-interoperability/import-export-interop?view=aspnetcore-9.0#razor-class-library-rcl-collocated-js-is-unsupported

@mattleibow mattleibow merged commit 6a2982a into main Dec 2, 2024
2 of 3 checks passed
@mattleibow mattleibow deleted the dev/wasm-basepath branch December 2, 2024 14:42
github-actions bot pushed a commit that referenced this pull request Dec 2, 2024
mattleibow added a commit that referenced this pull request Dec 2, 2024
(cherry picked from commit 6a2982a)

Co-authored-by: Matthew Leibowitz <mattleibow@live.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant