This repository has been archived by the owner on Sep 26, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 25
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
3 changed files
with
26 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,12 @@ | ||
# This file is used by Rack-based servers to start the application. | ||
|
||
# PB: This works, but isn't very secure since it makes all project files public | ||
# Also it conflicts with existing /project route | ||
# use Rack::Static, :urls => ["/project"] | ||
# | ||
# Something like this *should* work and is preferable to above, but isn't working for some reason: | ||
# use Rack::Static, :urls => ["/projectassets"], :root => "project/emigrant/assets" | ||
|
||
require ::File.expand_path('../config/environment', __FILE__) | ||
|
||
run Rails.application |