{"_id":"@polymer/platinum-https-redirect","_rev":"27-67799a1be855a05a2c4e03213d716ed6","name":"@polymer/platinum-https-redirect","dist-tags":{"latest":"0.0.3","preview":"1.0.1-pre.3","next":"3.0.0-pre.6"},"versions":{"0.0.1":{"name":"@polymer/platinum-https-redirect","version":"0.0.1","keywords":["https","polymer","web-component","web-components"],"license":"BSD-3-Clause","_id":"@polymer/platinum-https-redirect@0.0.1","maintainers":[{"name":"polymer","email":"admin@polymer-project.org"}],"contributors":[{"name":"The Polymer Authors"}],"homepage":"https://github.com/PolymerElements/platinum-https-redirect#readme","bugs":{"url":"https://github.com/PolymerElements/platinum-https-redirect/issues"},"dist":{"shasum":"9aad741ca44bf68df32c254783c189ae391551a9","tarball":"https://registry.npmjs.org/@polymer/platinum-https-redirect/-/platinum-https-redirect-0.0.1.tgz","integrity":"sha512-9sMDlxcyAIQ4DqTvMgnXv+XAiPEENJEDsLKIE9w3mshXSLEzZk09glPbaJaFYz/ZyFrll/1GV2WZ+jFvRkKfaQ==","signatures":[{"sig":"MEYCIQCwpsZAwsPH0MtBljet/tRS32Z5kViB9FPYoMz61A737AIhALQ3ToWBmQUUtMLZw/kzlgl/+SOM7gCi1PDm8KS6e7um","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","_shasum":"9aad741ca44bf68df32c254783c189ae391551a9","gitHead":"4e129e4d41953613a0c1f536e76d7f0466461f75","scripts":{},"_npmUser":{"name":"polymer","email":"admin@polymer-project.org"},"repository":{"url":"git://github.com/PolymerElements/platinum-https-redirect.git","type":"git"},"_npmVersion":"3.3.6","description":"Force a redirect to HTTPS when not on a local web server.","directories":{},"_nodeVersion":"5.0.0","dependencies":{"@polymer/polymer":"^1.2.5-npm-test.2"},"devDependencies":{"web-component-tester":"^4.0.0","@polymer/iron-component-page":"^0.0.1"},"_npmOperationalInternal":{"tmp":"tmp/platinum-https-redirect-0.0.1.tgz_1454388497353_0.5447882390581071","host":"packages-9-west.internal.npmjs.com"}},"0.0.3":{"name":"@polymer/platinum-https-redirect","version":"0.0.3","keywords":["https","polymer","web-component","web-components"],"license":"BSD-3-Clause","_id":"@polymer/platinum-https-redirect@0.0.3","maintainers":[{"name":"polymer","email":"admin@polymer-project.org"}],"contributors":[{"name":"The Polymer Authors"}],"homepage":"https://github.com/PolymerElements/platinum-https-redirect#readme","bugs":{"url":"https://github.com/PolymerElements/platinum-https-redirect/issues"},"dist":{"shasum":"9e37e7d7bcbb3de78d3de0ba1294e2b1ee875b02","tarball":"https://registry.npmjs.org/@polymer/platinum-https-redirect/-/platinum-https-redirect-0.0.3.tgz","integrity":"sha512-B14mw6CpCQNbdv0Fv3KFDMD9EK4PSCNSBU4IoSuar6EtEiM02om+paxgeO0pfHP/seTSFGJetEEgMWh4eWyQBA==","signatures":[{"sig":"MEUCIBm8AgLWmLitq05B7Raf9ZOxsezQaJy/Lqkl8YXA2GgzAiEAp9Qt9dTGmn8H2yzre0I9lyvHPW0h7Bu3MIw0amD6o3U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2W2ECRA9TVsSAnZWagAAkmMP/0sV2oecFQp6DUDf+hRT\ne5FM6529eXcd6yOTepS81CZQRXcQCLQVoyMfm16DEqDsQFgqOMtLNIf0K+y5\nzHy26ocKZlkwNPgnRLq1hUNrypiNOSnLkkxKaV8/PcKzg9XcFt5SStf4ALEy\n0hqUIpbKlfBsY3r5BW7y8uNUoMzXTC1Qk0sovlD8SDsbC+Dq11sYXSO6PszI\nEifycPqb/uU3OT3R2fkHTjfH0AFswvOJ947QNMUlYxmCE6853XtpkQdpnB+o\nuX0ZbiLEfA37SXeFsfUAvAcN/4PPeejwmTyq2Mvv7XUpvImgj33PAmI+fVTh\n7XDMKubiV1P+66aUGKyx1LR/Ub1jfB32dN7/mM0csGCgIDuoNdIGyBu6BSGN\n0mOTMsaVRx50kOyzSF+Gl588XbQ4J/yWgXL+EpCE6xQzEz4DFh/OiBiYtkuM\nC685YKuo2FRi1GJvq7R//F4mPJqHXHjAQCskeaY91t71yW2dy/kUhuxy6x8E\njh+LLprDaeKLaOfng0hHXPaBSD07XpMQFYe9plAc99lxIXH0UumFnAnzz8Ym\nBRW++yXOsd3HEvzGulrToMc07M6kjCRUCVFyWs2lwCE2ij79UjLsU5xELmz7\n2W1rWZSqwCNIxTvfpdkmjpjTT2zMUXr1LV6QlHa+QtlU6l3p20qRfF3i0RK2\n8VsR\r\n=Sq7I\r\n-----END PGP SIGNATURE-----\r\n"},"_from":".","_shasum":"9e37e7d7bcbb3de78d3de0ba1294e2b1ee875b02","gitHead":"c676bcec5915ec7193579a278675cba63b145356","scripts":{},"_npmUser":{"name":"polymer","email":"admin@polymer-project.org"},"repository":{"url":"git://github.com/PolymerElements/platinum-https-redirect.git","type":"git"},"_npmVersion":"3.3.6","description":"Force a redirect to HTTPS when not on a local web server.","directories":{},"_nodeVersion":"5.0.0","dependencies":{"@polymer/polymer":"^1.2.5-npm-test.2"},"devDependencies":{"web-component-tester":"^4.0.0","@polymer/iron-component-page":"^0.0.3"},"_npmOperationalInternal":{"tmp":"tmp/platinum-https-redirect-0.0.3.tgz_1454459451989_0.7655899589881301","host":"packages-9-west.internal.npmjs.com"}},"0.0.4":{"name":"@polymer/platinum-https-redirect","version":"0.0.4","keywords":["https","polymer","web-component","web-components"],"license":"SEE LICENSE IN http://polymer.github.io/LICENSE.txt","_id":"@polymer/platinum-https-redirect@0.0.4","maintainers":[{"name":"polymer","email":"admin@polymer-project.org"}],"contributors":[{"name":"The Polymer Authors"}],"homepage":"https://github.com/PolymerElements/platinum-https-redirect","bugs":{"url":"https://github.com/PolymerElements/platinum-https-redirect/issues"},"dist":{"shasum":"276b0e190f361b039bdefd6fc9227cc1a5e7878d","tarball":"https://registry.npmjs.org/@polymer/platinum-https-redirect/-/platinum-https-redirect-0.0.4.tgz","integrity":"sha512-pHQmIdkbWEK/9ALCmbFy/U1JlCHDaeBb6TLRi4aazI3FF9VznZtHpZtwZ5TphGz9F66175p0D82qMVg+qtZokQ==","signatures":[{"sig":"MEUCIFVvOPBaeGQ2RvYPYet9Qr2uHqHtLlGJJnVWOZ35hfmOAiEAvKUgv5RJ6TOfLNo09YT37xxcq3TrJ5Qn22/9/+SLGI0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"flat":true,"main":"platinum-https-redirect.html","_from":".","_shasum":"276b0e190f361b039bdefd6fc9227cc1a5e7878d","scripts":{},"_npmUser":{"name":"polymer","email":"admin@polymer-project.org"},"repository":{"url":"git://github.com/PolymerElements/platinum-https-redirect.git","type":"git"},"_npmVersion":"3.10.3","description":"Force a redirect to HTTPS when not on a local web server.","directories":{},"_nodeVersion":"6.4.0","dependencies":{"@polymer/polymer":"gloo"},"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/platinum-https-redirect-0.0.4.tgz_1483687963105_0.7938196226023138","host":"packages-12-west.internal.npmjs.com"}},"1.0.1-pre.1":{"name":"@polymer/platinum-https-redirect","version":"1.0.1-pre.1","keywords":["https","polymer","web-component","web-components"],"license":"SEE LICENSE IN http://polymer.github.io/LICENSE.txt","_id":"@polymer/platinum-https-redirect@1.0.1-pre.1","maintainers":[{"name":"polymer","email":"admin@polymer-project.org"}],"contributors":[{"name":"The Polymer Authors"}],"homepage":"https://github.com/PolymerElements/platinum-https-redirect","bugs":{"url":"https://github.com/PolymerElements/platinum-https-redirect/issues"},"dist":{"shasum":"ac8636b92953c98a4e3fbd70c7db5a3c44b45f4f","tarball":"https://registry.npmjs.org/@polymer/platinum-https-redirect/-/platinum-https-redirect-1.0.1-pre.1.tgz","integrity":"sha512-U3Sn3Tzp3MLXE90tGLO7GkxyTxXgSBPP6b5tQJ3hSm0R5LMoI88UzAemrBdzMaFzdVkZF5zF4gNVpjfsS7bEag==","signatures":[{"sig":"MEUCIQCUrabMduySRpjlYMiBDySTrgQpMFIP6ded9UObucyTDAIgDcm7pKHKK+vsYHfnlRKir8/YFl586K/bTKpxp1fx4eo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"flat":true,"main":"platinum-https-redirect.html","_from":".","_shasum":"ac8636b92953c98a4e3fbd70c7db5a3c44b45f4f","scripts":{},"_npmUser":{"name":"polymer","email":"admin@polymer-project.org"},"repository":{"url":"git://github.com/PolymerElements/platinum-https-redirect.git","type":"git"},"_npmVersion":"3.10.3","description":"Force a redirect to HTTPS when not on a local web server.","directories":{},"_nodeVersion":"6.4.0","dependencies":{"@polymer/polymer":"gloo"},"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/platinum-https-redirect-1.0.1-pre.1.tgz_1484789676099_0.8182542738504708","host":"packages-18-east.internal.npmjs.com"}},"1.0.1-pre.2":{"name":"@polymer/platinum-https-redirect","version":"1.0.1-pre.2","keywords":["https","polymer","web-component","web-components"],"license":"SEE LICENSE IN http://polymer.github.io/LICENSE.txt","_id":"@polymer/platinum-https-redirect@1.0.1-pre.2","maintainers":[{"name":"polymer","email":"admin@polymer-project.org"}],"contributors":[{"name":"The Polymer Authors"}],"homepage":"https://github.com/PolymerElements/platinum-https-redirect","bugs":{"url":"https://github.com/PolymerElements/platinum-https-redirect/issues"},"dist":{"shasum":"df80ee306b09486847133de83475fc90af56cf21","tarball":"https://registry.npmjs.org/@polymer/platinum-https-redirect/-/platinum-https-redirect-1.0.1-pre.2.tgz","integrity":"sha512-CxUMc0Z55JD4uZvYoUZfuN0npvxzVtcDa5nbf0YfdBHW3SsrdIHaa78cKfhYoHTJyaOMyJEo2llaGKN0AgtfjQ==","signatures":[{"sig":"MEUCIQCCtV9tJbUb2H4JLX21yWD7/Rx8NBUySWX/lfju0wsxgQIgS81VQx0MnHDVAofrosMlhEL79JnIf8PjDDnLNLuPJ4s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"flat":true,"main":"platinum-https-redirect.html","_from":".","_shasum":"df80ee306b09486847133de83475fc90af56cf21","scripts":{},"_npmUser":{"name":"polymer","email":"admin@polymer-project.org"},"repository":{"url":"git://github.com/PolymerElements/platinum-https-redirect.git","type":"git"},"_npmVersion":"3.10.3","description":"Force a redirect to HTTPS when not on a local web server.","directories":{},"_nodeVersion":"6.4.0","dependencies":{"@polymer/polymer":"gloo"},"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/platinum-https-redirect-1.0.1-pre.2.tgz_1484954809070_0.8568493695929646","host":"packages-18-east.internal.npmjs.com"}},"1.0.1-pre.3":{"name":"@polymer/platinum-https-redirect","version":"1.0.1-pre.3","keywords":["https","polymer","web-component","web-components"],"license":"SEE LICENSE IN http://polymer.github.io/LICENSE.txt","_id":"@polymer/platinum-https-redirect@1.0.1-pre.3","maintainers":[{"name":"polymer","email":"admin@polymer-project.org"}],"contributors":[{"name":"The Polymer Authors"}],"homepage":"https://github.com/PolymerElements/platinum-https-redirect","bugs":{"url":"https://github.com/PolymerElements/platinum-https-redirect/issues"},"dist":{"shasum":"5da405e3da04cbe6844120aa04c781aa20ee5ebb","tarball":"https://registry.npmjs.org/@polymer/platinum-https-redirect/-/platinum-https-redirect-1.0.1-pre.3.tgz","integrity":"sha512-qFjj841csNgBWnG6vzoz4baTu56uDMrUYH7uStXrDGdlXpJZB4Dy38PHv+SoYkci1nNJPPJanAZpl94yzky8hg==","signatures":[{"sig":"MEQCIHL5XUwftPHik1ODXjhJXxo9N4pZ9IccAEi2E6CW9LT/AiANUctZeLEHzrahY6urxTPl48ru9mRhkV9cRIz0ZBEIhg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"flat":true,"main":"platinum-https-redirect.html","_from":".","_shasum":"5da405e3da04cbe6844120aa04c781aa20ee5ebb","scripts":{},"_npmUser":{"name":"polymer","email":"admin@polymer-project.org"},"repository":{"url":"git://github.com/PolymerElements/platinum-https-redirect.git","type":"git"},"_npmVersion":"3.10.3","description":"Force a redirect to HTTPS when not on a local web server.","directories":{},"_nodeVersion":"6.4.0","dependencies":{"@polymer/polymer":"preview"},"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/platinum-https-redirect-1.0.1-pre.3.tgz_1485217400921_0.3859836340416223","host":"packages-18-east.internal.npmjs.com"}},"3.0.0-pre.2":{"name":"@polymer/platinum-https-redirect","version":"3.0.0-pre.2","keywords":["https","polymer","web-component","web-components"],"license":"BSD-3-Clause","_id":"@polymer/platinum-https-redirect@3.0.0-pre.2","maintainers":[{"name":"polymer","email":"admin@polymer-project.org"}],"contributors":[{"name":"The Polymer Authors"}],"homepage":"https://github.com/PolymerElements/platinum-https-redirect","bugs":{"url":"https://github.com/PolymerElements/platinum-https-redirect/issues"},"dist":{"shasum":"86b5a6828dd36c810d37fd2091553fc88dffc0f8","tarball":"https://registry.npmjs.org/@polymer/platinum-https-redirect/-/platinum-https-redirect-3.0.0-pre.2.tgz","integrity":"sha512-t6uaxFs9RzIiN8U30L4K43gEgDsM6aQDEonL4GTm0ZILRKtThuyAE0aDvfhTmhD8TakYv9Uv34ZFHqadbliPrQ==","signatures":[{"sig":"MEUCIGDjdRfLo9+QL96P2Jhq0mQOlgbumYVoPD31fXr6heN5AiEAoEUnDJNU1Vy4nHMmrba2K7YxI6QepMWTdUMO4qiYW3U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"flat":true,"main":"platinum-https-redirect.html","gitHead":"ac5411cb53b52e3e65d3803fe6df52422cc035a8","_npmUser":{"name":"polymer","email":"admin@polymer-project.org"},"repository":{"url":"git://github.com/PolymerElements/platinum-https-redirect.git","type":"git"},"_npmVersion":"5.5.1","description":"Force a redirect to HTTPS when not on a local web server.","directories":{},"resolutions":{"samsam":"1.1.3","inherits":"2.0.3","type-detect":"1.0.0","supports-color":"3.1.2"},"_nodeVersion":"9.2.0","dependencies":{"@polymer/polymer":"^3.0.0-pre.1"},"devDependencies":{"wct-browser-legacy":"0.0.1-pre.11","@polymer/iron-component-page":"^3.0.0-pre.1"},"_npmOperationalInternal":{"tmp":"tmp/platinum-https-redirect-3.0.0-pre.2.tgz_1515721321577_0.5092109520919621","host":"s3://npm-registry-packages"}},"3.0.0-pre.4":{"name":"@polymer/platinum-https-redirect","version":"3.0.0-pre.4","keywords":["https","polymer","web-component","web-components"],"license":"BSD-3-Clause","_id":"@polymer/platinum-https-redirect@3.0.0-pre.4","maintainers":[{"name":"polymer","email":"admin@polymer-project.org"}],"contributors":[{"name":"The Polymer Authors"}],"homepage":"https://github.com/PolymerElements/platinum-https-redirect","bugs":{"url":"https://github.com/PolymerElements/platinum-https-redirect/issues"},"dist":{"shasum":"052439eb3ff215d5c9cb5fbd1199c43f4b28d546","tarball":"https://registry.npmjs.org/@polymer/platinum-https-redirect/-/platinum-https-redirect-3.0.0-pre.4.tgz","integrity":"sha512-Hq0qvCVE0PlHWcy22KHiZPZXgQ+vwJ82JsVZcKd+dw6lFXK9/7MyfuVXCez6G9Bp98nWBen3whXqvJPGCs8tKQ==","signatures":[{"sig":"MEUCIANwwSC3OORJtdh8nvke8bTwPOg2kvI22vNxDk7EVBYsAiEAtfR2pc0xf0TbqbekDL5jMiZ5aVSGFNGKyYYA8zMSIeo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"flat":true,"main":"platinum-https-redirect.html","gitHead":"bb922169ee8e5659540469d57e7b789108052028","_npmUser":{"name":"polymer","email":"admin@polymer-project.org"},"repository":{"url":"git://github.com/PolymerElements/platinum-https-redirect.git","type":"git"},"_npmVersion":"5.5.1","description":"Force a redirect to HTTPS when not on a local web server.","directories":{},"resolutions":{"samsam":"1.1.3","inherits":"2.0.3","type-detect":"1.0.0","supports-color":"3.1.2"},"_nodeVersion":"9.2.0","dependencies":{"@polymer/polymer":"^3.0.0-pre.4"},"devDependencies":{"wct-browser-legacy":"0.0.1-pre.10","@polymer/iron-component-page":"^3.0.0-pre.4"},"_npmOperationalInternal":{"tmp":"tmp/platinum-https-redirect-3.0.0-pre.4.tgz_1516146536991_0.07158217881806195","host":"s3://npm-registry-packages"}},"3.0.0-pre.6":{"name":"@polymer/platinum-https-redirect","version":"3.0.0-pre.6","keywords":["https","polymer","web-component","web-components"],"license":"BSD-3-Clause","_id":"@polymer/platinum-https-redirect@3.0.0-pre.6","maintainers":[{"name":"polymer","email":"admin@polymer-project.org"}],"contributors":[{"name":"The Polymer Authors"}],"homepage":"https://github.com/PolymerElements/platinum-https-redirect","bugs":{"url":"https://github.com/PolymerElements/platinum-https-redirect/issues"},"dist":{"shasum":"320f957653de3e7eefeb1b4012ab66ce1e3a3870","tarball":"https://registry.npmjs.org/@polymer/platinum-https-redirect/-/platinum-https-redirect-3.0.0-pre.6.tgz","integrity":"sha512-d8/BlvVYdg2Oe219yT3gVHJP8RzB+t25sDPu6n/QWI9ZRfU+Y+mI4Z2nMkyvXLqPlPHE4p0JWIVzRThHzh+pzA==","signatures":[{"sig":"MEQCIEgJWWhe0Ejf39utOvs+tWI/vY4v/17rFOm9Qot12QwpAiAt6U5PvN/6R0bFz3WLTEjIQ61Ao5zNLqM5EqPA17GbhA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"flat":true,"main":"platinum-https-redirect.html","gitHead":"be4e733af1da8e9df42b3a0cebf14f5e07c00cf7","_npmUser":{"name":"polymer","email":"admin@polymer-project.org"},"repository":{"url":"git://github.com/PolymerElements/platinum-https-redirect.git","type":"git"},"_npmVersion":"5.6.0","description":"Force a redirect to HTTPS when not on a local web server.","directories":{},"resolutions":{"samsam":"1.1.3","inherits":"2.0.3","type-detect":"1.0.0","supports-color":"3.1.2"},"_nodeVersion":"9.4.0","dependencies":{"@polymer/polymer":"^3.0.0-pre.6"},"devDependencies":{"wct-browser-legacy":"0.0.1-pre.11","@polymer/iron-component-page":"^3.0.0-pre.6"},"_npmOperationalInternal":{"tmp":"tmp/platinum-https-redirect-3.0.0-pre.6.tgz_1516835033603_0.08335308427922428","host":"s3://npm-registry-packages"}}},"time":{"created":"2016-02-02T04:48:18.077Z","modified":"2024-10-07T21:28:11.579Z","0.0.1":"2016-02-02T04:48:18.077Z","0.0.3":"2016-02-03T00:30:54.694Z","0.0.4":"2017-01-06T07:32:43.333Z","1.0.1-pre.1":"2017-01-19T01:34:37.983Z","1.0.1-pre.2":"2017-01-20T23:26:50.988Z","1.0.1-pre.3":"2017-01-24T00:23:22.803Z","3.0.0-pre.2":"2018-01-12T01:42:01.680Z","3.0.0-pre.4":"2018-01-16T23:48:57.064Z","3.0.0-pre.6":"2018-01-24T23:03:53.723Z"},"bugs":{"url":"https://github.com/PolymerElements/platinum-https-redirect/issues"},"license":"BSD-3-Clause","homepage":"https://github.com/PolymerElements/platinum-https-redirect#readme","keywords":["https","polymer","web-component","web-components"],"repository":{"url":"git://github.com/PolymerElements/platinum-https-redirect.git","type":"git"},"description":"Force a redirect to HTTPS when not on a local web server.","contributors":[{"name":"The Polymer Authors"}],"maintainers":[{"email":"rictic@gmail.com","name":"rictic"},{"email":"aomarks@gmail.com","name":"aomarks"},{"email":"emarquez@google.com","name":"emarquez"},{"email":"sorvell@google.com","name":"sorvell"},{"email":"bicknellr@gmail.com","name":"bicknellr"},{"email":"brendan@usergenic.com","name":"usergenic"},{"email":"admin@polymer-project.org","name":"polymer-devs"},{"email":"dfreedm2@gmail.com","name":"azakus"},{"email":"kevinpschaaf@gmail.com","name":"kevinpschaaf"},{"email":"justin@fagnani.com","name":"justinfagnani"}],"readme":"\n<!---\n\nThis README is automatically generated from the comments in these files:\nplatinum-https-redirect.html\n\nEdit those files, and our readme bot will duplicate them over here!\nEdit this file, and the bot will squash your changes :)\n\nThe bot does some handling of markdown. Please file a bug if it does the wrong\nthing! https://github.com/PolymerLabs/tedium/issues\n\n-->\n\n_[Demo and API Docs](https://elements.polymer-project.org/elements/platinum-https-redirect)_\n\n\n##&lt;platinum-https-redirect&gt;\n\nThe `<platinum-https-redirect>` element redirects the current page to HTTPS, unless the page is\nloaded from a web server running on `localhost`.\n\nUsing [HTTP Strict Transport Security](https://en.wikipedia.org/wiki/HTTP_Strict_Transport_Security)\n(HSTS) can be used to enforce HTTPS for an entire\n[origin](https://html.spec.whatwg.org/multipage/browsers.html#origin), following the first visit to\nany page on the origin. Configuring the underlying web server to\n[redirect](https://en.wikipedia.org/wiki/HTTP_301) all HTTP requests to their HTTPS equivalents\ntakes care of enforcing HTTPS on the initial visit as well.\nBoth options provide a more robust approach to enforcing HTTPS, but require access to the underlying\nweb server's configuration in order to implement.\n\nThis element provides a client-side option when HSTS and server-enforced redirects aren't possible,\nsuch as when deploying code on a shared-hosting provider like\n[GitHub Pages](https://pages.github.com/).\n\nIt comes in handy when used with other `<platinum-*>` elements, since those elements use\n[features which are restricted to HTTPS](http://www.chromium.org/Home/chromium-security/prefer-secure-origins-for-powerful-new-features),\nwith an exception to support local web servers.\n\nIt can be used by just adding it to any page, e.g.\n\n```html\n<platinum-https-redirect></platinum-https-redirect>\n```\n\n\n","readmeFilename":"README.md"}