This shouldn't be here anyways
This commit is contained in:
parent
f07540111a
commit
ff1ca4a343
@ -2,9 +2,4 @@
|
||||
|
||||
require 'sinatra'
|
||||
|
||||
before do
|
||||
redirect("https://www.#{request.host + request.path_info}") \
|
||||
unless settings.development? || request.host =~ /^www\./
|
||||
end
|
||||
|
||||
get('/*') { erb(:index) }
|
||||
|
Loading…
x
Reference in New Issue
Block a user