Remove console.log
This commit is contained in:
parent
991a8316f8
commit
36244508fd
1 changed files with 0 additions and 6 deletions
|
|
@ -158,12 +158,6 @@ class UVServiceWorker extends Ultraviolet.EventEmitter {
|
|||
if (request.destination === 'document') {
|
||||
const header = responseCtx.headers['content-disposition'];
|
||||
|
||||
console.log(
|
||||
{ header },
|
||||
/filename=/i.test(header),
|
||||
/^\s*?attachment/i.test(header)
|
||||
);
|
||||
|
||||
// validate header and test for filename
|
||||
if (!/\s*?((inline|attachment);\s*?)filename=/i.test(header)) {
|
||||
// if filename= wasn't specified then maybe the remote specified to download this as an attachment?
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue