diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index dfc4c84..c4164af 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -7,4 +7,4 @@ fair place to play. [The full community guidelines can be found on the Sass website.][link] -[link]: http://sass-lang.com/community-guidelines +[link]: https://sass-lang.com/community-guidelines diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index bbc0eb5..545d28a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,7 +1,7 @@ Contributing to the Sass website ================================ -**Please read the [Implementation Guide](http://sass-lang.com/implementation)** +**Please read the [Implementation Guide](https://sass-lang.com/implementation)** The Sass website is open source. See a bug or typo? Have an idea? Just do the following: diff --git a/Gemfile b/Gemfile index 6ddb5e0..42f625c 100644 --- a/Gemfile +++ b/Gemfile @@ -16,6 +16,7 @@ gem 'puma' gem 'rack' gem 'rack-contrib' gem 'rack-rewrite' +gem 'rack-ssl', '~> 1.4' gem 'rake' gem 'redcarpet', '~> 3.3.3' gem 'semantic', '~> 1.6' diff --git a/Gemfile.lock b/Gemfile.lock index b92a78a..2bca85e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -140,6 +140,8 @@ GEM rack-livereload (0.3.16) rack rack-rewrite (1.5.1) + rack-ssl (1.4.1) + rack rack-test (0.8.3) rack (>= 1.0, < 3) rake (12.3.0) @@ -207,6 +209,7 @@ DEPENDENCIES rack rack-contrib rack-rewrite + rack-ssl (~> 1.4) rake redcarpet (~> 3.3.3) semantic (~> 1.6) @@ -221,4 +224,4 @@ RUBY VERSION ruby 2.4.1p111 BUNDLED WITH - 1.16.2 + 1.16.6 diff --git a/README.md b/README.md index 28117bd..76fd54e 100644 --- a/README.md +++ b/README.md @@ -3,5 +3,5 @@ The Sass website is open source. See a typo? Have a UX improvement? Check out the [Contributing guide](https://github.com/sass/sass-site/blob/master/CONTRIBUTING.md)! -* [Sass website Style Guide](http://sass-lang.com/styleguide) +* [Sass website Style Guide](https://sass-lang.com/styleguide) * [@TeamSassDesign](http://twitter.com/teamsassdesign) diff --git a/config.ru b/config.ru index 3d9b3c1..953ced0 100644 --- a/config.ru +++ b/config.ru @@ -1,9 +1,12 @@ require "rubygems" require "rack/rewrite" +require "rack/ssl" require "rack/contrib/not_found" require "rack/contrib/try_static" +use Rack::SSL if ENV["HEROKU"] == 'true' + use Rack::Rewrite do r301 %r{/docs/yardoc/(.*)}, '/documentation/$1' r301 '/tutorial.html', '/guide' diff --git a/data/sitemap.yml b/data/sitemap.yml index 265f761..c235837 100644 --- a/data/sitemap.yml +++ b/data/sitemap.yml @@ -1 +1 @@ -url: http://sass-lang.com +url: https://sass-lang.com diff --git a/source/layouts/regions/_contentinfo.haml b/source/layouts/regions/_contentinfo.haml index ae0d420..e9507b5 100644 --- a/source/layouts/regions/_contentinfo.haml +++ b/source/layouts/regions/_contentinfo.haml @@ -11,7 +11,7 @@ and numerous contributors. It is available for use and modification under the - [MIT License](http://sass-lang.com/docs/yardoc/file.MIT-LICENSE.html). + [MIT License](https://github.com/sass/dart-sass/blob/master/LICENSE). %li.contentinfo-tools %ul