Use etag
parent
e0636d94ff
commit
7104a97f34
|
@ -837,7 +837,8 @@ const generateTestSamplesTask = function() {
|
||||||
function createSimpleServer(rootDir, port) {
|
function createSimpleServer(rootDir, port) {
|
||||||
const server = http.createServer((request, response) => {
|
const server = http.createServer((request, response) => {
|
||||||
return serveHandler(request, response, {
|
return serveHandler(request, response, {
|
||||||
public: rootDir
|
public: rootDir,
|
||||||
|
etag: true
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue