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/Content type not return application/wasm #18

Conversation

ishiko732
Copy link
Member

I tried using npm install [email protected] but it doesn't work properly because when accessing http://localhost:3000/node_modules/.vite/deps/fsrs_browser_bg.wasm, it returns text/html instead.

image content-type-html

I found that this approach can resolve the issue:

npm-wasm

@AlexErrant
Copy link
Member

Hah I had that line in my own code... I should've upstreamed it here. Thanks!

@AlexErrant AlexErrant merged commit f61f7c5 into open-spaced-repetition:main Apr 1, 2024
1 check passed
@ishiko732 ishiko732 deleted the Fix/npm-fsrs-browser-Content-type-html branch April 2, 2024 00:27
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

Successfully merging this pull request may close these issues.

2 participants