WIP on endpoint routing conversion (#59)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user