Rework frontend asset structure
This commit is contained in:
parent
11f7749c1d
commit
bc0e92bdac
50 changed files with 93 additions and 70 deletions
|
|
@ -103,7 +103,7 @@ func (auth *Auth) Logout(w http.ResponseWriter, r *http.Request) error {
|
|||
|
||||
//go:embed "templates/login.html"
|
||||
var loginHTMLStr string
|
||||
var loginTemplate = static.AssetsAuthLogin.MustParseShared("login.html", loginHTMLStr)
|
||||
var loginTemplate = static.AssetsUser.MustParseShared("login.html", loginHTMLStr)
|
||||
|
||||
var loginResponse = httpx.Response{
|
||||
ContentType: "text/plain",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue