Retitle snippets

This commit is contained in:
Chalarangelo
2022-02-13 18:40:16 +02:00
parent cd58cfe194
commit d88d014e80
130 changed files with 134 additions and 134 deletions

View File

@ -1,5 +1,5 @@
---
title: httpsRedirect
title: Redirect to HTTPS
tags: browser,intermediate
firstSeen: 2017-12-21T08:33:56+02:00
lastUpdated: 2020-10-22T20:23:47+03:00
@ -20,6 +20,6 @@ const httpsRedirect = () => {
```
```js
httpsRedirect();
httpsRedirect();
// If you are on http://mydomain.com, you are redirected to https://mydomain.com
```