diff --git a/Procfile b/Procfile index 6f86b16c86..26daf562cb 100644 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -web: node server.js \ No newline at end of file +web: coffee src/server.coffee \ No newline at end of file diff --git a/assets/js/app.coffee b/assets/js/app.coffee index 93946625f4..918c5aed89 100644 --- a/assets/js/app.coffee +++ b/assets/js/app.coffee @@ -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", "") diff --git a/package.json b/package.json index db18e186e4..ef9af71492 100644 --- a/package.json +++ b/package.json @@ -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" } }