Skip to content
This repository was archived by the owner on Mar 22, 2022. It is now read-only.

Commit b79f70d

Browse files
committed
Make it available on Heroku
1 parent a1a767b commit b79f70d

736 files changed

Lines changed: 69 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎Gemfile‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
source "http://rubygems.org"
2+
3+
gem 'rack'

‎Gemfile.lock‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
GEM
2+
remote: http://rubygems.org/
3+
specs:
4+
rack (1.5.2)
5+
6+
PLATFORMS
7+
ruby
8+
9+
DEPENDENCIES
10+
rack

‎config.ru‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
use Rack::Static,
2+
:urls => ["/images", "/js", "/css"],
3+
:root => "public"
4+
5+
run lambda { |env|
6+
[
7+
200,
8+
{
9+
'Content-Type' => 'text/html',
10+
'Cache-Control' => 'public, max-age=86400'
11+
},
12+
File.open('public/index.html', File::RDONLY)
13+
]
14+
}
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)