Przeglądaj źródła

redirect / to index.html

encrypt 4 lat temu
rodzic
commit
1f8d5a49dc
1 zmienionych plików z 4 dodań i 0 usunięć
  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