mirror of
https://github.com/XProger/OpenLara.git
synced 2025-04-21 03:21:51 +02:00
#15 fix HTML5 for IE
This commit is contained in:
parent
8acb93a204
commit
578cc74d2b
@ -1,5 +1,20 @@
|
||||
AddEncoding gzip .gz
|
||||
|
||||
<FilesMatch "\.js\.gz$">
|
||||
ForceType text/javascript
|
||||
Header set Content-Encoding: gzip
|
||||
</FilesMatch>
|
||||
|
||||
<FilesMatch "\.mem\.gz$">
|
||||
ForceType application/octet-stream
|
||||
Header set Content-Encoding: gzip
|
||||
</FilesMatch>
|
||||
|
||||
<FilesMatch "\.data\.gz$">
|
||||
ForceType application/octet-stream
|
||||
Header set Content-Encoding: gzip
|
||||
</FilesMatch>
|
||||
|
||||
RewriteEngine on
|
||||
RewriteCond %{HTTP:Accept-Encoding} gzip
|
||||
RewriteCond %{REQUEST_FILENAME}.gz -f
|
||||
|
@ -1,8 +1,9 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head><title>OpenLara</title><head>
|
||||
<head><title>OpenLara</title></head>
|
||||
<body>
|
||||
<span id="status">Starting...</span>
|
||||
<span><input type="button" value="fullscreen" onclick="Module.requestFullScreen(false, true)"><br><br>
|
||||
<input type="button" value="fullscreen" onclick="Module.requestFullScreen(false, true)"><br><br>
|
||||
<canvas id="canvas" width="160" height="120" oncontextmenu="event.preventDefault()"></canvas><br>
|
||||
<span id="info"></span>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user