From 2ca8c06af640477a9c9dd5f7d7c9485138cb0478 Mon Sep 17 00:00:00 2001 From: hakanensari Date: Mon, 29 Apr 2013 23:55:33 +0100 Subject: [PATCH] Remove index.html --- lib/app.rb | 2 +- public/favicon.ico | Bin 1406 -> 0 bytes public/index.html | 134 --------------------------------------------- 3 files changed, 1 insertion(+), 135 deletions(-) delete mode 100644 public/favicon.ico delete mode 100644 public/index.html diff --git a/lib/app.rb b/lib/app.rb index e51a01e..283d13e 100644 --- a/lib/app.rb +++ b/lib/app.rb @@ -28,7 +28,7 @@ helpers do end get '/' do - File.read File.join 'public', 'index.html' + redirect 'http://fixer.io' end get '/latest' do diff --git a/public/favicon.ico b/public/favicon.ico deleted file mode 100644 index e0dd2e745a31f0879d9e40f6a28e87bf6f0cdaa4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1406 zcmZQzU<5(|0R}M0U}azs1F|%L7$l?s#Ec9aKoZP=&`4}E8z->XtG6E*^i3=o{{R2a zz{1MLz|O(NuxbAppk_t}Q3+`V4IM*Af2xFGT{E>JxqP(9EfC;;;jT!?uvNj^SiHby2EN+S&bdR7+t diff --git a/public/index.html b/public/index.html deleted file mode 100644 index 0e853a7..0000000 --- a/public/index.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - Fixer - - - - - -
-
-

Fixer: A JSON API for exchange rates

-
- -

- Get the latest foreign exchange reference rates, quoted against the - euro. -

- - curl http://api.fixer.io/latest - - -

- Get historical rates for any day since 1999. -

- - curl http://api.fixer.io/2000-01-03 - - -

- Quote against a currency by setting the base parameter - in your request. -

- - curl http://api.fixer.io/latest?base=USD - - -

- Request specific exchange rates by setting the - symbols or currencies parameter. -

- - curl http://api.fixer.io/latest?symbols=USD,GBP - - -

- Make cross-domain JSONP requests. -

- - curl http://api.fixer.io/latest?callback=myCallback - - -

- HTTPS endpoints are available. -

- - curl https://api.fixer.io/latest - - -

- Exchange rates are usually updated by 3pm CET. -

- - -
- -