Commit 63b07f59 authored by Nicola Spanti's avatar Nicola Spanti

fix hard coded base URL

parent f81b5b039223
Pipeline #54742 failed with stage
in 1 minute and 4 seconds
declare const BASE_URL: string
import React from "react";
import ReactDOM from "react-dom";
......@@ -101,7 +103,7 @@ const MapChart = () => {
function App() {
// XX to change with some data attribut
const rqlClient = new client.CwRqlClient(
new client.CwSimpleHttpClient("http://slowloris.tls.logilab.fr:8080", true)
new client.CwSimpleHttpClient(BASE_URL, true)
);
const instanceRef = React.useRef<EditorJS | null>(null);
......
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