This repository has been archived by the owner on Mar 20, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
9 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,6 @@ | ||
$stdout.sync = true | ||
require File.expand_path("../app.rb", __FILE__) | ||
|
||
# Add some caching. This is designed to work out of the box | ||
# on Heroku, but feel free to change this if eg. you'd prefer | ||
# to use Memcache. | ||
# | ||
if Schnitzelpress.env.production? | ||
use Rack::Cache, { | ||
:verbose => true, | ||
:metastore => URI.encode("file:/tmp/cache/meta"), | ||
:entitystore => URI.encode("file:/tmp/cache/body") | ||
} | ||
end | ||
|
||
# Run the app, with support for files in ./public/ | ||
# | ||
run App.with_local_files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters