Assuming that my app runs at http://localhost/project/?foo=bar.
And I want to have link to homepage as ./.
I found no way how create that via Url.Builder.custom.
|
rootToPrePath : Root -> String |
|
rootToPrePath root = |
|
case root of |
|
Absolute -> |
|
"/" |
|
|
|
Relative -> |
|
"" |
|
|
|
CrossOrigin prePath -> |
|
prePath ++ "/" |
Assuming that my app runs at
http://localhost/project/?foo=bar.And I want to have link to homepage as
./.I found no way how create that via
Url.Builder.custom.url/src/Url/Builder.elm
Lines 147 to 157 in 4e5ee03