mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 18:32:56 +01:00
Use etag
This commit is contained in:
parent
e0636d94ff
commit
7104a97f34
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue