From 6019a40835b356dce08ff3a287e5e551c19e975c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20=C3=81lvarez?= Date: Tue, 11 Jan 2022 17:27:02 +0100 Subject: [PATCH] api url --- frontend/src/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/App.js b/frontend/src/App.js index 8feef14..8378974 100644 --- a/frontend/src/App.js +++ b/frontend/src/App.js @@ -39,7 +39,7 @@ export default class App extends Component { } this.timer = null - this.apiUrl = window.location.href +'api/preg' + this.apiUrl = '/api/preg' //this.apiUrl = 'http://localhost:8086/api/preg' this.maps = { 'preg_match': {