Browse Source

redirect / to index.html

encrypt 4 năm trước cách đây
mục cha
commit
1f8d5a49dc
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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