Add interface for fetching links from server
This commit is contained in:
parent
9637c12297
commit
43fa1166df
|
|
@ -0,0 +1,8 @@
|
|||
import client from './client'
|
||||
|
||||
const fetchAllLinks = (url, relativeLinksMethod) =>
|
||||
client.get(`/fetch-links?url=${encodeURIComponent(url)}&relativeLinksMethod=${relativeLinksMethod}`)
|
||||
|
||||
export default {
|
||||
fetchAllLinks
|
||||
}
|
||||
Loading…
Reference in New Issue