Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Commit

Permalink
Merge pull request #337 from Rostlab/hotfix
Browse files Browse the repository at this point in the history
fixed hardcoded url in SentimentsApi.js
  • Loading branch information
mammuth committed Apr 8, 2016
2 parents a54c154 + 62fc47d commit 1691143
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/network/SentimentsApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ var request = require('superagent');
var Promise = require('es6-promise').Promise;
var protocol = (process.env.NODE_ENV === 'development') ? 'http://' : process.env.__PROTOCOL__;
var port = (process.env.NODE_ENV === 'development') ? ':8080' : '';
var baseUrl = protocol + 'localhost' + port + '/';
var baseUrl = protocol + process.env.__API__ + port + '/';

var Api = {
get: function (url, query) {
Expand Down

0 comments on commit 1691143

Please sign in to comment.