Skip to content

Commit

Permalink
Fix js lint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
markphelps committed May 27, 2020
1 parent fb66771 commit bada252
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ui/src/services/api.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import axios from "axios";

let host =
process.env.NODE_ENV === "production"
? window.location.host
: "0.0.0.0:8080";
process.env.NODE_ENV === "production" ? window.location.host : "0.0.0.0:8080";

export const Api = axios.create({
baseURL: "//" + host + "/api/v1/"
Expand Down

0 comments on commit bada252

Please sign in to comment.