Browse Source

redirect / to index.html

encrypt 4 years ago
parent
commit
1f8d5a49dc
1 changed files with 4 additions and 0 deletions
  1. 4 0
      server/server.rb

+ 4 - 0
server/server.rb

@@ -4,6 +4,10 @@ require 'json'
 
 set :storage_directory, './storage/'
 
+get '/' do
+  redirect 'index.html'
+end
+
 # create a room
 
 post '/room' do