Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Make it available on Heroku

  • Loading branch information...
yasulab committed Apr 25, 2013
1 parent a1a767b commit b79f70d1bf4d1ab89862a4f8a5917b7a147128ee
Showing 736 changed files with 69 additions and 0 deletions.
@@ -0,0 +1,3 @@
source "http://rubygems.org"

gem 'rack'
@@ -0,0 +1,10 @@
GEM
remote: http://rubygems.org/
specs:
rack (1.5.2)

PLATFORMS
ruby

DEPENDENCIES
rack
@@ -0,0 +1,14 @@
use Rack::Static,
:urls => ["/images", "/js", "/css"],
:root => "public"

run lambda { |env|
[
200,
{
'Content-Type' => 'text/html',
'Cache-Control' => 'public, max-age=86400'
},
File.open('public/index.html', File::RDONLY)
]
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.