Detect newer versions of Sails.js (#1806)

Newer Sails.js versions send the header
    x-powered-by: Sails <sailsjs.org>
instead of
    x-powered-by: Sails
main
q-- 7 years ago committed by Elbert Alias
parent f984e594d3
commit b02ca9ab34

@ -7346,7 +7346,7 @@
], ],
"headers": { "headers": {
"Set-Cookie": "^sails\\.sid$", "Set-Cookie": "^sails\\.sid$",
"X-Powered-By": "^Sails$" "X-Powered-By": "^Sails(?:$|[^a-z0-9])"
}, },
"icon": "Sails.js.svg", "icon": "Sails.js.svg",
"implies": "Express", "implies": "Express",

Loading…
Cancel
Save