Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.

Commit

Permalink
fix: dynamic baseUrl for api
Browse files Browse the repository at this point in the history
  • Loading branch information
ocjojo committed Mar 22, 2020
1 parent 47ede68 commit 0788be1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/api.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import deepmerge from "deepmerge";
import { store } from "@/store";
const baseUrl = /*"https://vision.owlabout.de/api";*/ 'http://localhost:9000/api/'
const baseUrl = window.location.origin + "/api/";

function base(path, options = {}) {
return fetch(
Expand Down

0 comments on commit 0788be1

Please sign in to comment.