WebApp.Start("http://localhost:9000/MyService", fun appB ->
appB.UseStaticFiles(StaticFileOptions(FileSystem = PhysicalFileSystem(workingDirectory)))
.UseDiscoveredSitelet(workingDirectory)
|> ignore)
Then when requesting eg. http://localhost:9000/MyService/SomePage, the sitelet receives the path /MyService/SomePage to parse, when it should be /SomePage.
Failing example:
Then when requesting eg.
http://localhost:9000/MyService/SomePage
, the sitelet receives the path/MyService/SomePage
to parse, when it should be/SomePage
.