You've already forked go-url-shortener
update assets use
This commit is contained in:
@@ -3,7 +3,7 @@ package err
|
||||
import "github.com/zhang2092/go-url-shortener/internal/templ/base"
|
||||
|
||||
templ Error404() {
|
||||
@base.Base("404") {
|
||||
@base.Base() {
|
||||
<h1>404</h1>
|
||||
<p>当前短路径已经失效</p>
|
||||
}
|
||||
|
||||
@@ -49,7 +49,7 @@ func Error404() templ.Component {
|
||||
}
|
||||
return templ_7745c5c3_Err
|
||||
})
|
||||
templ_7745c5c3_Err = base.Base("404").Render(templ.WithChildren(ctx, templ_7745c5c3_Var2), templ_7745c5c3_Buffer)
|
||||
templ_7745c5c3_Err = base.Base().Render(templ.WithChildren(ctx, templ_7745c5c3_Var2), templ_7745c5c3_Buffer)
|
||||
if templ_7745c5c3_Err != nil {
|
||||
return templ_7745c5c3_Err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user