Use local URLs etc

This commit is contained in:
Richard Feldman
2018-08-05 06:17:34 -04:00
parent f6bd524cb6
commit 6a3879b1c7
4 changed files with 5 additions and 6 deletions

View File

@@ -16,9 +16,7 @@ url : List String -> String
url paths =
-- NOTE: Url.Builder takes care of percent-encoding special URL characters.
-- See https://package.elm-lang.org/packages/elm/url/latest/Url#percentEncode
Url.Builder.crossOrigin "https://conduit.productionready.io"
("api" :: paths)
[]
Url.Builder.relative ("api" :: paths) []