Explorar el Código

added missing options

Former-commit-id: 55d03e319375e21e690e5efa48bd7d0e37f951e7
Gildas hace 6 años
padre
commit
4990f2988c
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  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,
 						maxResourceSizeEnabled: this.options.maxResourceSizeEnabled,
 						url: this.options.url,
 						url: this.options.url,
 						charset: this.charset,
 						charset: this.charset,
-						compressCSS: this.options.compressCSS
+						compressCSS: this.options.compressCSS,
+						referrerPolicy: this.options.referrerPolicy,
+						credentials: this.options.credentials
 					};
 					};
 					let stylesheetContent;
 					let stylesheetContent;
 					if (element.tagName.toLowerCase() == "link") {
 					if (element.tagName.toLowerCase() == "link") {