WIP on endpoint routing conversion (#59)

This commit is contained in:
2026-07-01 23:43:48 -04:00
parent cb9ec52a7d
commit be094fb07e
8 changed files with 118 additions and 153 deletions
+2 -1
View File
@@ -174,6 +174,7 @@ let options () =
it
open Giraffe.Htmx.Common
/// <summary>Fluid parser customized with myWebLog filters and tags</summary>
let parser =
@@ -255,7 +256,7 @@ let parser =
fun writer encoder context ->
let webLog = context.App.WebLog
if webLog.AutoHtmx then
context.App.WebLog.RelativeUrl(Permalink "htmx.min.js")
context.App.WebLog.RelativeUrl(Permalink StaticAssetUrl.htmx[1..])
|> sprintf "%s<script src=\"%s\"></script>" s
|> writer.WriteLine
if assetExists "script.js" webLog then