Last active
August 27, 2016 03:00
-
-
Save e10dokup/e6ce0a64c9a11fbbacbdd9979237a5c2 to your computer and use it in GitHub Desktop.
something_like_sprix.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# coding:utf-8 | |
require 'sinatra' | |
require 'rack' | |
get '/*' do | |
status 503 | |
return "ただいまアクセスが集中しているため、サイトが繋がりづらい状態になっています。 ご迷惑をおかけして申し訳ありません。" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment