Permalink
Browse files

Getting rid of PERSONA_AUDIENCE.

Production env variables set.
  • Loading branch information...
1 parent 34bc1b6 commit ca62fcb3e29bbc3414089d77ef6c7b096098d233 @simonwex simonwex committed Apr 3, 2013
Showing with 2 additions and 4 deletions.
  1. +1 −1 .env.sample
  2. +1 −3 app/http/server.js
View
@@ -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
View
@@ -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
@@ -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.