Bladeren bron

Docs: Wasm header: Add instructions for Apache (#908)

Danilo Bargen 5 jaren geleden
bovenliggende
commit
e013350692
1 gewijzigde bestanden met toevoegingen van 6 en 1 verwijderingen
  1. 6 1
      docs/self_hosting.md

+ 6 - 1
docs/self_hosting.md

@@ -28,8 +28,13 @@ release version yourself, a recent version of npm is required.
 
     application/wasm    wasm;
 
+If you're using Apache, add the following line to
+`/etc/apache2/mods-enabled/mime.conf`:
+
+    AddType application/wasm .wasm
+
 When using Python,
-[someting like this](https://gist.github.com/dbrgn/6bf88d32b1b44b1b1d4140f92b8a7a0a)
+[something like this](https://gist.github.com/dbrgn/6bf88d32b1b44b1b1d4140f92b8a7a0a)
 should work.
 
 ### Building from source