Skip to content

Commit 83274e8

Browse files
committed
Update client-channel.js
1 parent 0db2aa4 commit 83274e8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

worker/client-channel.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,12 @@ const workerChannel = new BroadcastChannel('worker-channel');
6868

6969

7070
// create Response from data
71-
function createResponse(data, type, status, cache) {
71+
function createResponse(data, type, status) {
7272

7373
let headers = {
7474
'Content-Type': type
7575
};
7676

77-
if (!cache) headers['Cache-Control'] = 'public, max-age=0, must-revalidate';
78-
7977
// create Response from data
8078
const response = new Response(data, {
8179
headers: headers,

0 commit comments

Comments
 (0)