mirror of
https://github.com/danog/sass-site.git
synced 2025-01-22 05:41:42 +01:00
Redirect to SassMeister.com. Fixes sass/sass.github.com#25.
This commit is contained in:
parent
7d877d35a4
commit
301f2c9dcd
@ -13,6 +13,8 @@ else
|
||||
r301 '/documentation', '/documentation/'
|
||||
r301 '/documentation/_index.html', '/documentation/'
|
||||
|
||||
moved_permanently '/try.html', 'http://www.sassmeister.com'
|
||||
|
||||
rewrite(%r{^(.*)/([^/.]+)$}, lambda do |match, rack_env|
|
||||
path = "#{File.dirname(__FILE__)}/build#{match[0]}"
|
||||
next "#{match[1]}/#{match[2]}/index.html" if Dir.exists?(path)
|
||||
|
Loading…
x
Reference in New Issue
Block a user