Skip to content

Commit

Permalink
Getting rid of PERSONA_AUDIENCE.
Browse files Browse the repository at this point in the history
Production env variables set.
  • Loading branch information
simonwex committed Apr 3, 2013
1 parent 34bc1b6 commit ca62fcb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .env.sample
Expand Up @@ -3,6 +3,6 @@ HUB_SERVER_PORT=8081
HUB_BASE=http://localhost:8081
EXAMPLE_SERVER_PORT=8082
SESSION_SECRET=I pick my best friends on wheter or not they would help me bury a body.
PERSONA_AUDIENCE=http://localhost:8080
PUBLIC_BASE_URL=//localhost:8080
LOGGER_LEVEL=silly
GA_ACCOUNT=UA-XXXXXXXX-XX
4 changes: 1 addition & 3 deletions app/http/server.js
Expand Up @@ -6,8 +6,6 @@

require('../../lib/extensions/number');

process.env.PUBLIC_BASE_URL = process.env.PERSONA_AUDIENCE;

const STATIC_EXPIRATION = 60*60*24; // 24 hours
const TOWTRUCK_EXPIRATION = 60*60; // 1 hour

Expand Down Expand Up @@ -87,4 +85,4 @@ var port = env.get("PORT");
var host = env.get("HOST") || "127.0.0.1";
http.listen(port, host);

logger.info("HTTP server listening on port " + port + " (" + process.env.PUBLIC_BASE_URL + ").");
logger.info("HTTP server listening on port " + port + " (http://" + process.env.PUBLIC_BASE_URL + ").");

0 comments on commit ca62fcb

Please sign in to comment.