use heroku instance in production mode

This commit is contained in:
Riku Rouvila
2015-11-24 21:46:39 +02:00
parent 4e341ddf46
commit ee615717cf
6 changed files with 16 additions and 6 deletions

View File

@@ -119,7 +119,7 @@ gulp.task('server', function() {
var proxy = httpProxy.createProxyServer({
changeOrigin: true,
target: process.env.SERVER || 'https://koodiklinikka.fi/api'
target: process.env.SERVER || 'https://api.koodiklinikka.fi'
});
proxy.on('error', function(err) {