rewrite2 bug fixes & prep for heroku

This commit is contained in:
Tyler Renelle 2013-08-25 23:04:51 -04:00
parent 9b25dc67ff
commit 3a66d1df3b
3 changed files with 6 additions and 4 deletions

View file

@ -1 +1 @@
web: node server.js
web: coffee src/server.coffee

View file

@ -9,4 +9,4 @@ The main HabitRPG app module.
# .constant('API_URL', 'https://beta.habitrpg.com')
# userServices handles redirect to /login if not authenticated
window.habitrpg = angular.module('habitrpg', ['userServices', 'sharedServices', 'authServices', 'notificationServices', 'ui.bootstrap'])
.constant("API_URL", "http://localhost:3000")
.constant("API_URL", "")

View file

@ -27,7 +27,8 @@
"stylus": "~0.37.0",
"connect-assets": "~2.5.2",
"bower": "~1.2.4",
"nib": "~1.0.1"
"nib": "~1.0.1",
"jade": "~0.35.0"
},
"private": true,
"subdomain": "habitrpg",
@ -41,6 +42,7 @@
},
"scripts": {
"start": "nodemon src/server.coffee",
"test": "mocha test/api.mocha.coffee"
"test": "mocha test/api.mocha.coffee",
"postinstall": "./node_modules/bower/bin/bower install"
}
}