Add urlPrefix support for Axios

This commit is contained in:
Freezeboy 2015-07-28 16:47:19 +02:00
parent 2c0fe980eb
commit 4cab814e17

View file

@ -117,7 +117,7 @@ generateAxiosJSWith aopts opts req = "\n" <>
method = map toLower $ req ^. reqMethod
url = if url' == "'" then "'/'" else url'
url' = "'"
-- ++ urlPrefix opts
++ urlPrefix opts
++ urlArgs
++ queryArgs