From d1464e700401389d4392ff16a05747287ce0807b Mon Sep 17 00:00:00 2001 From: Fernando Piovezan Date: Mon, 10 Jun 2024 15:09:05 -0300 Subject: [PATCH] Adjust url --- ui/src/components/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/components/App.tsx b/ui/src/components/App.tsx index 9836410..ccdcdeb 100644 --- a/ui/src/components/App.tsx +++ b/ui/src/components/App.tsx @@ -48,7 +48,7 @@ export default function App() { if (!url) { // get current url without query params - const domain = 'http://localhost'// location.protocol + '//' + location.host + const domain = location.protocol + '//' + location.host setHost(domain) url = domain + "/request-docs/api" configAPI = domain + "/request-docs/config"