Add urlPrefix support for Axios
This commit is contained in:
parent
2c0fe980eb
commit
4cab814e17
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ generateAxiosJSWith aopts opts req = "\n" <>
|
||||||
method = map toLower $ req ^. reqMethod
|
method = map toLower $ req ^. reqMethod
|
||||||
url = if url' == "'" then "'/'" else url'
|
url = if url' == "'" then "'/'" else url'
|
||||||
url' = "'"
|
url' = "'"
|
||||||
-- ++ urlPrefix opts
|
++ urlPrefix opts
|
||||||
++ urlArgs
|
++ urlArgs
|
||||||
++ queryArgs
|
++ queryArgs
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue