forked from meteor/meteor
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add initial mechanics for serving an app on a path other than /
For now, this requires the ABSOLUTE_URL environment to be set to true. More considered ABI possibly coming.
- Loading branch information
Naomi Seyfer
committed
Jun 13, 2013
1 parent
fc74cfb
commit 213cd94
Showing
5 changed files
with
42 additions
and
19 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,3 +1,6 @@ | ||
if (process.env.ROOT_URL && | ||
typeof __meteor_runtime_config__ === "object") | ||
__meteor_runtime_config__.ROOT_URL = process.env.ROOT_URL; | ||
if (process.env.ABSOLUTE_URL && | ||
typeof __meteor_runtime_config__ === "object") | ||
__meteor_runtime_config__.ABSOLUTE_URL = true; |
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