dotnet-websharper / core

WebSharper - Full-stack, functional, reactive web apps and microservices in F# and C#
https://websharper.com
Apache License 2.0
593 stars 52 forks source link

Offline sitelets (HTML project) link broken #1319

Closed Jand42 closed 1 year ago

Jand42 commented 1 year ago

For example in websharper-html template, this should link to about.html instead of just about for navigation to generated file to work correctly. image

granicz commented 1 year ago

Be careful not to break static apps deployed on a subdirectory prefix. If we don't already, we should be able to set base: .\ or something similar in wsconfig.json - if not, let's add this for offline sitelets.

Jand42 commented 1 year ago

@granicz at the moment I have reverted to WS5 behavior, which is that all links are relative links. This keeps them work anywhere you have them deployed