From e5769ba3d26aff44363f7bb936c46683a7527491 Mon Sep 17 00:00:00 2001 From: Kegan Maher Date: Thu, 13 Dec 2018 11:23:38 -0800 Subject: [PATCH] Redirect to HTTPS versions of urls (#24) * Redirect to HTTPS version of url * adding some additional redirects --- static/_redirects | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/static/_redirects b/static/_redirects index 05a75212b6..430bb095cc 100644 --- a/static/_redirects +++ b/static/_redirects @@ -1,8 +1,17 @@ -# Redirects go here. -# /path /destination Response code +# Add new redirects using the 3-value pattern below +# (301 by default) -/slack http://hackforla-slack.herokuapp.com/ 301 -/donate https://donorbox.org/hackforla 301 -/conduct https://github.com/hackforla/codeofconduct 301 -/calendar https://calendar.google.com/calendar?cid=cnQ3dXBpcmF2ZWtpOTFhY2trdXQ5OTRwZHNAZ3JvdXAuY2FsZW5kYXIuZ29vZ2xlLmNvbQ 301 -/coffee https://www.eventbrite.com/e/make-trash-history-the-los-angeles-coffee-community-leads-the-way-tickets-51337704456 301 +# Force HTTPS +http://www.hackforla.org https://www.hackforla.org +http://www.hackforla.org/* https://www.hackforla.org/:splat + +# Core Shortcuts and Aliases +/calendar https://calendar.google.com/calendar?cid=cnQ3dXBpcmF2ZWtpOTFhY2trdXQ5OTRwZHNAZ3JvdXAuY2FsZW5kYXIuZ29vZ2xlLmNvbQ +/conduct https://www.github.com/hackforla/codeofconduct +/donate https://donorbox.org/hackforla +/meetup https://www.meetup.com/hackforla +/github https://www.github.com/hackforla +/slack https://hackforla-slack.herokuapp.com/ + +# Temporary Events and Promos +/coffee https://www.eventbrite.com/e/make-trash-history-the-los-angeles-coffee-community-leads-the-way-tickets-51337704456