mirror of
https://github.com/status-im/consul.git
synced 2025-02-26 12:25:41 +00:00
Merge pull request #436 from hashicorp/sethvargo/redirect_web_ui_downloads
Redirect old WebUI downloads page to new one
This commit is contained in:
commit
14ae938a76
@ -4,6 +4,11 @@ require "rack/contrib/response_headers"
|
||||
require "rack/contrib/static_cache"
|
||||
require "rack/contrib/try_static"
|
||||
|
||||
require "rake/rewrite"
|
||||
use Rack::Rewrite do
|
||||
r301 "/downloads_web_ui.html", "/downloads.html"
|
||||
end
|
||||
|
||||
# Properly compress the output if the client can handle it.
|
||||
use Rack::Deflater
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user