Permalink
Browse files

www.myfavoritebeer.org should work, and point to production - see iss…

…ue mozilla/browserid/1225
  • Loading branch information...
lloyd committed Mar 2, 2012
1 parent 4939067 commit af94fbc23b3280ff9dd42e54bf6a0a578bb4dff9
Showing with 1 addition and 1 deletion.
  1. +1 −1 server/main.js
View
@@ -66,7 +66,7 @@ app.use(function (req, res, next) {
// same server, each which uses a different browserid server
// (dev/beta/prod):
function determineEnvironment(req) {
if (req.headers['host'] === 'myfavoritebeer.org') return 'prod';
if (req.headers['host'] === 'myfavoritebeer.org' || req.headers['host'] === 'www.myfavoritebeer.org') return 'prod';
else if (req.headers['host'] === 'beta.myfavoritebeer.org') return 'beta';
else if (req.headers['host'] === 'dev.myfavoritebeer.org') return 'dev';
else {

0 comments on commit af94fbc

Please sign in to comment.