about summary refs log tree commit diff
path: root/users/Profpatsch/whatcd-resolver
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--users/Profpatsch/whatcd-resolver/src/WhatcdResolver.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/users/Profpatsch/whatcd-resolver/src/WhatcdResolver.hs b/users/Profpatsch/whatcd-resolver/src/WhatcdResolver.hs
index a233888c45..8843a78729 100644
--- a/users/Profpatsch/whatcd-resolver/src/WhatcdResolver.hs
+++ b/users/Profpatsch/whatcd-resolver/src/WhatcdResolver.hs
@@ -312,13 +312,13 @@ runHandlers ::
   (Wai.Response -> IO ResponseReceived) ->
   m ResponseReceived
 runHandlers defaultHandler handlers req respond = withRunInIO $ \runInIO -> do
-  let path = [fmt|/{req & Wai.pathInfo & Text.intercalate "/"}|]
+  let path = req & Wai.pathInfo & Text.intercalate "/"
   let handlerResponses =
         ( HandlerResponses
             { plain = (\m -> liftIO $ runInIO m >>= respond),
               html = \act ->
                 Otel.inSpan'
-                  [fmt|Route {path}|]
+                  [fmt|Route /{path}|]
                   ( Otel.defaultSpanArguments
                       { Otel.attributes =
                           HashMap.fromList