Skip to content
This repository has been archived by the owner on Jan 1, 2024. It is now read-only.

Commit

Permalink
fix(links-api): getLinksAPI use absolute url
Browse files Browse the repository at this point in the history
fix(links-api): getLinksAPI use absolute url
  • Loading branch information
Metnew committed Feb 18, 2018
1 parent af60e17 commit 5c42199
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/common/api/LinksSvc/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// @flow
import {get} from 'api/utils'

export async function getLinksAPI () {
return get(`/links`)
}
export const getLinksAPI = async () =>
get(`http://${process.env.HOST}:${process.env.PORT}/api/links`)

0 comments on commit 5c42199

Please sign in to comment.