mirror of
https://github.com/danog/sass-site.git
synced 2024-11-30 04:29:17 +01:00
Always use HTTPS (#291)
* Make all links to the Sass site use HTTPS * Force all requests to use HTTPS
This commit is contained in:
parent
9f3dc12a2c
commit
d4eb2ef3f1
@ -7,4 +7,4 @@ fair place to play.
|
|||||||
|
|
||||||
[The full community guidelines can be found on the Sass website.][link]
|
[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
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Contributing to the Sass website
|
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
|
The Sass website is open source. See a bug or typo? Have an idea? Just do the
|
||||||
following:
|
following:
|
||||||
|
|
||||||
|
1
Gemfile
1
Gemfile
@ -16,6 +16,7 @@ gem 'puma'
|
|||||||
gem 'rack'
|
gem 'rack'
|
||||||
gem 'rack-contrib'
|
gem 'rack-contrib'
|
||||||
gem 'rack-rewrite'
|
gem 'rack-rewrite'
|
||||||
|
gem 'rack-ssl', '~> 1.4'
|
||||||
gem 'rake'
|
gem 'rake'
|
||||||
gem 'redcarpet', '~> 3.3.3'
|
gem 'redcarpet', '~> 3.3.3'
|
||||||
gem 'semantic', '~> 1.6'
|
gem 'semantic', '~> 1.6'
|
||||||
|
@ -140,6 +140,8 @@ GEM
|
|||||||
rack-livereload (0.3.16)
|
rack-livereload (0.3.16)
|
||||||
rack
|
rack
|
||||||
rack-rewrite (1.5.1)
|
rack-rewrite (1.5.1)
|
||||||
|
rack-ssl (1.4.1)
|
||||||
|
rack
|
||||||
rack-test (0.8.3)
|
rack-test (0.8.3)
|
||||||
rack (>= 1.0, < 3)
|
rack (>= 1.0, < 3)
|
||||||
rake (12.3.0)
|
rake (12.3.0)
|
||||||
@ -207,6 +209,7 @@ DEPENDENCIES
|
|||||||
rack
|
rack
|
||||||
rack-contrib
|
rack-contrib
|
||||||
rack-rewrite
|
rack-rewrite
|
||||||
|
rack-ssl (~> 1.4)
|
||||||
rake
|
rake
|
||||||
redcarpet (~> 3.3.3)
|
redcarpet (~> 3.3.3)
|
||||||
semantic (~> 1.6)
|
semantic (~> 1.6)
|
||||||
@ -221,4 +224,4 @@ RUBY VERSION
|
|||||||
ruby 2.4.1p111
|
ruby 2.4.1p111
|
||||||
|
|
||||||
BUNDLED WITH
|
BUNDLED WITH
|
||||||
1.16.2
|
1.16.6
|
||||||
|
@ -3,5 +3,5 @@
|
|||||||
The Sass website is open source. See a typo? Have a UX improvement? Check out
|
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)!
|
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)
|
* [@TeamSassDesign](http://twitter.com/teamsassdesign)
|
||||||
|
@ -1,9 +1,12 @@
|
|||||||
require "rubygems"
|
require "rubygems"
|
||||||
|
|
||||||
require "rack/rewrite"
|
require "rack/rewrite"
|
||||||
|
require "rack/ssl"
|
||||||
require "rack/contrib/not_found"
|
require "rack/contrib/not_found"
|
||||||
require "rack/contrib/try_static"
|
require "rack/contrib/try_static"
|
||||||
|
|
||||||
|
use Rack::SSL if ENV["HEROKU"] == 'true'
|
||||||
|
|
||||||
use Rack::Rewrite do
|
use Rack::Rewrite do
|
||||||
r301 %r{/docs/yardoc/(.*)}, '/documentation/$1'
|
r301 %r{/docs/yardoc/(.*)}, '/documentation/$1'
|
||||||
r301 '/tutorial.html', '/guide'
|
r301 '/tutorial.html', '/guide'
|
||||||
|
@ -1 +1 @@
|
|||||||
url: http://sass-lang.com
|
url: https://sass-lang.com
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
and numerous contributors.
|
and numerous contributors.
|
||||||
|
|
||||||
It is available for use and modification under the
|
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
|
%li.contentinfo-tools
|
||||||
%ul
|
%ul
|
||||||
|
Loading…
Reference in New Issue
Block a user