Skip to content

Commit

Permalink
fix(ui): use correct relative paths to allow hosting in a subdirectory
Browse files Browse the repository at this point in the history
  • Loading branch information
Hypfer committed Mar 18, 2022
1 parent 7632450 commit 6129ec5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/api/client.ts
Expand Up @@ -58,7 +58,7 @@ import { floorObject } from "./utils";
import {preprocessMap} from "./mapUtils";

export const valetudoAPI = axios.create({
baseURL: "../api/v2",
baseURL: "./api/v2",
});

let currentCommitId = "unknown";
Expand Down

0 comments on commit 6129ec5

Please sign in to comment.