Skip to content

Commit

Permalink
Merge pull request #4 from sumitgpt/master
Browse files Browse the repository at this point in the history
Redirect user to matrix from index endpoint
  • Loading branch information
ajitsing authored Mar 19, 2018
2 parents a4bebdb + 6f0a89e commit 51b8f50
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/pairing_matrix/server/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,9 @@ class Server < Sinatra::Base
get '/matrix' do
File.read(File.join(File.dirname(__FILE__), 'public/index.html'))
end

get '/' do
redirect '/matrix'
end
end
end

0 comments on commit 51b8f50

Please sign in to comment.