Skip to content

Commit

Permalink
Fix WASM MIME type in Nginx config
Browse files Browse the repository at this point in the history
  • Loading branch information
rajivshah3 committed Apr 23, 2024
1 parent 83f1361 commit 3dddd4c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ RUN echo 'server {\
}\
}' > /etc/nginx/sites-available/default

RUN mv ./nginx/wasm.conf /etc/nginx/conf.d/wasm.conf

# Running required steps to prepare the web app prod build
RUN npm install
RUN npm run build
Expand Down
3 changes: 3 additions & 0 deletions client/nginx/wasm.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
types {
application/wasm wasm;
}

0 comments on commit 3dddd4c

Please sign in to comment.