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

Optional headers for wasm #477

Open
akshaybabloo opened this issue Jun 18, 2024 · 0 comments
Open

Optional headers for wasm #477

akshaybabloo opened this issue Jun 18, 2024 · 0 comments

Comments

@akshaybabloo
Copy link

Feature request

It would be nice to have a check box to enable wasm headers. I am not sure if this is particular for flutter, which suggests https://docs.flutter.dev/platform-integration/web/wasm#serve-the-output-with-an-http-server

Feature description

Create a check box that adds a block of custom directive with required headers, something like:

location / {
    add_header Cross-Origin-Embedder-Policy "credentialless"
    add_header Cross-Origin-Opener-Policy "same-origin"
}

How the feature is useful

Enables use of wasm when correct headers are sent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant