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 #342 from Rostlab/hotfix
Browse files Browse the repository at this point in the history
Commented out antagonists with problematic characters
  • Loading branch information
mammuth committed Apr 8, 2016
2 parents c5b1a7c + a7a0ec4 commit a1014d3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions app/components/common/AntagonistsComp/AntagonistsComp.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ require.context("./img", false, /^\.\/.*\.jpg$/); /*eslint no-undef:0*/

import BigBattle from '../BigBattle/BigBattle.jsx';
import json from 'json!./antagonists.json';

import MapComp from '../MapComp/MapComp.jsx';

import Actions from '../../../actions/CharactersPlodActions.js';
Expand Down
2 changes: 0 additions & 2 deletions app/components/common/AntagonistsComp/antagonists.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
["Arya Stark","Dunsen"],
["Arya Stark","Meryn Trant"],
["Arya Stark","Meryn Trant"],
["Arya Stark","Thoros of Myr"],
["Arya Stark","Walder Frey"],
["Arya Stark","Ilyn Payne"],
["Ramsay Snow","Sansa Stark"],
Expand All @@ -30,7 +29,6 @@
["Bowen Marsh","Jon Snow"],
["Doran Martell","Tommen Baratheon"],
["Olenna Redwyne", "Cersei Lannister"],
["Aegon Targaryen (son of Rhaegar)","Tommen Baratheon"],
["Tyrion Lannister","Jaime Lannister"],
["Barristan Selmy","Jorah Mormont"],
["Obara Sand","Doran Martell"],
Expand Down
5 changes: 4 additions & 1 deletion app/network/SentimentsApi.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
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 + process.env.__API__ + port + '/';
var api = (process.env.NODE_ENV === 'development') ? 'localhost' : process.env.__API__;

var baseUrl = protocol + api + port + '/';

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

0 comments on commit a1014d3

Please sign in to comment.