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

[Backend] Re-enable serving images #72

Closed
nic547 opened this issue Jun 3, 2021 · 1 comment
Closed

[Backend] Re-enable serving images #72

nic547 opened this issue Jun 3, 2021 · 1 comment
Assignees
Labels
type:enhancement New feature or request

Comments

@nic547
Copy link
Owner

nic547 commented Jun 3, 2021

While prototyping the Blazor WebAssembly WebClient, the staticFile middleware was reset and /generatedImages is no longer served.
Ideally #58 is resolved first.

@nic547 nic547 added type:enhancement New feature or request priority:high labels Jun 3, 2021
@nic547 nic547 self-assigned this Jun 3, 2021
@nic547
Copy link
Owner Author

nic547 commented Jun 3, 2021

Turns out you can just call UseStaticFiles twice, once emtpy for Blazor WebAssembly and once with the settings for the images.

@nic547 nic547 closed this as completed in 8b6c144 Jun 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant