Created
June 2, 2015 11:07
-
-
Save TWith2Sugars/e3633cfec7ed22186881 to your computer and use it in GitHub Desktop.
Freya - Server Address
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
freya { | |
let! scheme = Freya.getLens Request.scheme | |
let! host = Freya.getLensPartial Request.Headers.host | |
let host = host.Value | |
let! pathBase = Freya.getLens Request.pathBase | |
let uri = sprintf "%s://%O%s" scheme host pathBase | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment