Skip to content

Commit c803763

Browse files
authored
Make server match github for content-type (#505)
Unity assumes the server is configured so that when it asks for a file that ends in .gz the content-type is set to gzip. Servez makes that the default. Turning off that feature makes it match github pages which don't do this.
1 parent 292965f commit c803763

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"build": "node build/tools/build.js",
1616
"start": "node build/tools/serve.js",
1717
"serve": "node build/tools/serve.js",
18-
"server": "servez out",
18+
"server": "servez --no-unity-hack out",
1919
"watch": "rollup -c -w",
2020
"export": "npm run build"
2121
},

0 commit comments

Comments
 (0)