diff --git a/src/level.h b/src/level.h
index 90e9efd..3f93061 100644
--- a/src/level.h
+++ b/src/level.h
@@ -66,9 +66,6 @@ struct Level : IGame {
case TR::VER_TR1_PC : strcat(buf, ".PHD"); break;
case TR::VER_TR1_PSX : strcat(buf, ".PSX"); break;
}
- #ifdef __EMSCRIPTEN__
- strcat(buf, ".gz");
- #endif
new Stream(buf, loadAsync);
}
diff --git a/src/platform/web/level/.htaccess b/src/platform/web/level/.htaccess
new file mode 100644
index 0000000..a158f85
--- /dev/null
+++ b/src/platform/web/level/.htaccess
@@ -0,0 +1,16 @@
+AddEncoding gzip .gz
+
+
+ ForceType application/octet-stream
+ Header set Content-Encoding: gzip
+
+
+
+ ForceType application/octet-stream
+ Header set Content-Encoding: gzip
+
+
+
+ ForceType application/octet-stream
+ Header set Content-Encoding: gzip
+
\ No newline at end of file