Alex Dima 5 年之前
父節點
當前提交
7104a97f34
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      gulpfile.js

+ 2 - 1
gulpfile.js

@@ -837,7 +837,8 @@ const generateTestSamplesTask = function() {
 function createSimpleServer(rootDir, port) {
 	const server = http.createServer((request, response) => {
 		return serveHandler(request, response, {
-			public: rootDir
+			public: rootDir,
+			etag: true
 		});
 	});