Commit 67f4ca96 authored by gijs's avatar gijs

More config

parent c31ed3b3
......@@ -2,6 +2,7 @@
"name": "cleaning-interface",
"version": "0.1.0",
"private": true,
"homepage": "/the-annotator",
"dependencies": {
"connected-react-router": "^6.2.1",
"history": "^4.7.2",
......
const API_URL = "http://localhost:5000/the-annotator/api/";
// const API_URL = "/sentiment-writer/api/";
// const API_URL = "http://localhost:5000/the-annotator/api/";
const API_URL = "/the-annotator/api/";
// import texts from './texts.json';
......
......@@ -2,6 +2,7 @@
"name": "cleaning-interface",
"version": "0.1.0",
"private": true,
"homepage": "/the-cleaner",
"dependencies": {
"connected-react-router": "^6.2.1",
"history": "^4.7.2",
......
const API_URL = "http://localhost:5000/the-cleaner/api/";
// const API_URL = "dataworkers.local/the-cleaner/api/";
// const API_URL = "http://localhost:5000/the-cleaner/api/";
const API_URL = "/the-cleaner/api/";
export const api_url = (tail) => {
return `${API_URL}${tail}`;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment