diff --git a/options.html b/options.html index 27c8c9c..3cc7d0e 100644 --- a/options.html +++ b/options.html @@ -19,6 +19,7 @@ +
"+d[n]+'. Redirecting to '+e+"
"},default:function(){a=""}}),this.statusCode=n,this.set("Content-Length",t.byteLength(a)),"HEAD"===this.req.method?this.end():this.end(a)},S.vary=function(e){return!e||Array.isArray(e)&&!e.length?(o("res.vary(): Provide a field name"),this):(_(this,e),this)},S.render=function(e,a,i){var t=this.req.app,n=i,o=a||{},s=this.req,r=this;"function"==typeof a&&(n=a,o={}),o._locals=r.locals,n=n||function(e,a){if(e)return s.next(e);r.send(a)},t.render(e,o,n)}},6153:(e,a,i)=>{"use strict";var t=i(7895),n=i(6508),o=i(5210),s=i(9251),r=i(6352)("express:router"),c=i(503)("express"),p=i(7040),l=i(9110),u=i(6634),d=/^\[object (\S+)\]$/,m=Array.prototype.slice,f=Object.prototype.toString,h=e.exports=function(e){var a=e||{};function i(e,a,t){i.handle(e,a,t)}return u(i,h),i.params={},i._params=[],i.caseSensitive=a.caseSensitive,i.mergeParams=a.mergeParams,i.strict=a.strict,i.stack=[],i};function v(e,a){for(var i=0;i'+o(e).replace(u,"\n\n\n"}(n);a.statusCode=i,a.statusMessage=c[i],function(e,a){if(a)for(var i=Object.keys(a),t=0;t
").replace(l," ")+"
"+a+"\n\n\n"}function A(e){return"function"!=typeof e.getHeaderNames?Object.keys(e._headers||{}):e.getHeaderNames()}function N(e,a){return("function"!=typeof e.listenerCount?e.listeners(a).length:e.listenerCount(a))>0}function B(e,a){for(var i=[].concat(e||[]),t=0;t
'+('Redirecting to '+n(i)+"")+"\n\n\n");e.statusCode=301,e.setHeader("Content-Type","text/html; charset=UTF-8"),e.setHeader("Content-Length",Buffer.byteLength(s)),e.setHeader("Content-Security-Policy","default-src 'none'"),e.setHeader("X-Content-Type-Options","nosniff"),e.setHeader("Location",i),e.end(s)}}:function(){this.error(404)};return function(e,a,t){if("GET"!==e.method&&"HEAD"!==e.method)return p?t():(a.statusCode=405,a.setHeader("Allow","GET, HEAD"),a.setHeader("Content-Length","0"),void a.end());var n=!p,s=o.original(e),c=o(e).pathname;"/"===c&&"/"!==s.pathname.substr(-1)&&(c="");var l=r(e,c,i);l.on("directory",d),u&&l.on("headers",u),p&&l.on("file",(function(){n=!0})),l.on("error",(function(e){!n&&e.statusCode<500?t():t(e)})),l.pipe(a)}},e.exports.mime=r.mime},6634:e=>{"use strict";e.exports=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,a){return e.__proto__=a,e}:function(e,a){for(var i in a)Object.prototype.hasOwnProperty.call(e,i)||(e[i]=a[i]);return e})},6480:(e,a,i)=>{"use strict";var t=i(473);function n(e){if("number"==typeof e){if(!n[e])throw new Error("invalid status code: "+e);return e}if("string"!=typeof e)throw new TypeError("code must be a number or string");var a=parseInt(e,10);if(!isNaN(a)){if(!n[a])throw new Error("invalid status code: "+a);return a}if(!(a=n[e.toLowerCase()]))throw new Error('invalid status message: "'+e+'"');return a}e.exports=n,n.STATUS_CODES=t,n.codes=function(e,a){var i=[];return Object.keys(a).forEach((function(t){var n=a[t],o=Number(t);e[o]=n,e[n]=o,e[n.toLowerCase()]=o,i.push(o)})),i}(n,t),n.redirect={300:!0,301:!0,302:!0,303:!0,305:!0,307:!0,308:!0},n.empty={204:!0,205:!0,304:!0},n.retry={502:!0,503:!0,504:!0}},99:e=>{"use strict";e.exports=function(e){return e.split(" ").map((function(e){return e.slice(0,1).toUpperCase()+e.slice(1)})).join("").replace(/[^ _0-9a-z]/gi,"")}},4654:(e,a,i)=>{"use strict";var t=i(4223),n=i(382);function o(e,a){var i,t,n=a,o=p(e);if(!o)return!1;if(n&&!Array.isArray(n))for(n=new Array(arguments.length-1),i=0;i