From 623d0adb0a593a1267ad5cebc363c31508c0a6c6 Mon Sep 17 00:00:00 2001 From: Gregg Tavares Date: Sat, 19 Apr 2025 09:10:04 +0900 Subject: [PATCH] Make server match github for content-type 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. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 6b5eafb2..7aba1e94 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "build": "node build/tools/build.js", "start": "node build/tools/serve.js", "serve": "node build/tools/serve.js", - "server": "servez out", + "server": "servez --no-unity-hack out", "watch": "rollup -c -w", "export": "npm run build" },