瀏覽代碼

chore: go generate

Signed-off-by: Xe Iaso <me@xeiaso.net>
Xe Iaso 2 周之前
父節點
當前提交
372b797f64
共有 3 個文件被更改,包括 9 次插入5 次删除
  1. 1 1
      lib/challenge/metarefresh/metarefresh_templ.go
  2. 7 3
      web/index_templ.go
  3. 1 1
      xess/xess_templ.go

+ 1 - 1
lib/challenge/metarefresh/metarefresh_templ.go

@@ -1,6 +1,6 @@
 // Code generated by templ - DO NOT EDIT.
 
-// templ: version: v0.3.887
+// templ: version: v0.3.898
 package metarefresh
 
 //lint:file-ignore SA4006 This context is only used if a nested component is present.

+ 7 - 3
web/index_templ.go

@@ -1,6 +1,6 @@
 // Code generated by templ - DO NOT EDIT.
 
-// templ: version: v0.3.887
+// templ: version: v0.3.898
 package web
 
 //lint:file-ignore SA4006 This context is only used if a nested component is present.
@@ -280,8 +280,12 @@ func errorPage(message string, mail string) templ.Component {
 			if templ_7745c5c3_Err != nil {
 				return templ_7745c5c3_Err
 			}
-			var templ_7745c5c3_Var15 templ.SafeURL = "mailto:" + templ.SafeURL(mail)
-			_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(string(templ_7745c5c3_Var15)))
+			var templ_7745c5c3_Var15 templ.SafeURL
+			templ_7745c5c3_Var15, templ_7745c5c3_Err = templ.JoinURLErrs("mailto:" + templ.SafeURL(mail))
+			if templ_7745c5c3_Err != nil {
+				return templ.Error{Err: templ_7745c5c3_Err, FileName: `index.templ`, Line: 145, Col: 45}
+			}
+			_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var15))
 			if templ_7745c5c3_Err != nil {
 				return templ_7745c5c3_Err
 			}

+ 1 - 1
xess/xess_templ.go

@@ -1,6 +1,6 @@
 // Code generated by templ - DO NOT EDIT.
 
-// templ: version: v0.3.887
+// templ: version: v0.3.898
 package xess
 
 //lint:file-ignore SA4006 This context is only used if a nested component is present.