Skip to content

Commit

Permalink
Adjust url
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernando Piovezan committed Jun 10, 2024
1 parent c82b614 commit d1464e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/components/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit d1464e7

Please sign in to comment.