Permalink
Browse files

Heroku-ify

  • Loading branch information...
xaviershay committed Sep 1, 2012
1 parent d262036 commit 4e9c5a1504c016a6fa3e0920a3b7a3227dcadabc
View
@@ -0,0 +1,14 @@
+use Rack::Static,
+ :urls => ["/css", "/images", "/js"],
+ :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.
View
@@ -2,12 +2,12 @@
<html lang="en">
<head>
<title>Pace Calculator</title>
- <link href='bootstrap.min.css' rel='stylesheet'>
- <script src='jquery-1.8.1.min.js'></script>
- <script src='jquery-ui-1.8.23.custom.min.js'></script>
- <script src='angular-1.0.1.min.js'></script>
- <script src='slider.js'></script>
- <link href='jquery-ui-1.8.23.custom.css' rel='stylesheet'>
+ <link href='css/bootstrap.min.css' rel='stylesheet'>
+ <script src='js/jquery-1.8.1.min.js'></script>
+ <script src='js/jquery-ui-1.8.23.custom.min.js'></script>
+ <script src='js/angular-1.0.1.min.js'></script>
+ <script src='js/slider.js'></script>
+ <link href='css/jquery-ui-1.8.23.custom.css' rel='stylesheet'>
<script>
function PaceCtrl($scope) {
$scope.range = [60 * 3, 60 * 5];
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 4e9c5a1

Please sign in to comment.