Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

make it a Rack app and set it up to be run by Foreman

  • Loading branch information...
commit e43780b22a2bf170d2dfd16f133b66a6df3dd3db 1 parent f6927b3
@stevenwilkin authored
Showing with 13 additions and 0 deletions.
  1. +1 −0  Procfile
  2. +12 −0 config.ru
View
1  Procfile
@@ -0,0 +1 @@
+web: rackup
View
12 config.ru
@@ -0,0 +1,12 @@
+use Rack::Static, :urls => ['/css', '/img'], :root => '.'
+
+run lambda { |env|
+ [
+ 200,
+ {
+ 'Content-Type' => 'text/html',
+ 'Cache-Control' => 'public, max-age=86400'
+ },
+ File.open('index.html', File::RDONLY)
+ ]
+}
Please sign in to comment.
Something went wrong with that request. Please try again.