Skip to content

Commit

Permalink
fix: adding Union to the replacement filter
Browse files Browse the repository at this point in the history
  • Loading branch information
gruselhaus authored Sep 4, 2021
1 parent c3fbe06 commit 1ab7253
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Api/API.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function sortAlphabetically(a, b) {
return 0;
}

const toReplace = ["CDU / CSU", "CDU/CSU", /(?:<!(Europäischen|Europäische) )Union/gi, "CDU und CSU", "CDU", "CSU", "Freie Demokraten", "Liberalen", "Liberale", "FDP", "BÜNDNIS 90 / DIE GRÜNEN", "BÜNDNIS 90/DIE GRÜNEN", "Grünen", "PIRATENpartei", "alternative für deutschland", "Die Linken", "Die Linke", "Linken", "Linke", "Die Linkspartei.PDS", "unionsgeführten Regierungen"];
const toReplace = ["CDU / CSU", "Union", "CDU/CSU", /(?:<!(Europäischen|Europäische) )Union/gi, "CDU und CSU", "CDU", "CSU", "Freie Demokraten", "Liberalen", "Liberale", "FDP", "BÜNDNIS 90 / DIE GRÜNEN", "BÜNDNIS 90/DIE GRÜNEN", "Grünen", "PIRATENpartei", "alternative für deutschland", "Die Linken", "Die Linke", "Linken", "Linke", "Die Linkspartei.PDS", "unionsgeführten Regierungen"];

const url = process.env.REACT_APP_BACKEND_URL || "https://api.parteiduell.de";
export class API {
Expand Down

0 comments on commit 1ab7253

Please sign in to comment.