Просмотр исходного кода

added missing options

Former-commit-id: 55d03e319375e21e690e5efa48bd7d0e37f951e7
Gildas 6 лет назад
Родитель
Сommit
4990f2988c
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      lib/single-file/single-file-core.js

+ 3 - 1
lib/single-file/single-file-core.js

@@ -847,7 +847,9 @@ this.singlefile.lib.core = this.singlefile.lib.core || (() => {
 						maxResourceSizeEnabled: this.options.maxResourceSizeEnabled,
 						url: this.options.url,
 						charset: this.charset,
-						compressCSS: this.options.compressCSS
+						compressCSS: this.options.compressCSS,
+						referrerPolicy: this.options.referrerPolicy,
+						credentials: this.options.credentials
 					};
 					let stylesheetContent;
 					if (element.tagName.toLowerCase() == "link") {