mirror of
https://github.com/usememos/memos.git
synced 2025-10-11 14:56:36 +08:00
chore: update dev version
This commit is contained in:
parent
2c17ea703d
commit
19ef97a7ec
2 changed files with 17 additions and 15 deletions
|
@ -64,6 +64,7 @@ func aclMiddleware(s *Server, next echo.HandlerFunc) echo.HandlerFunc {
|
|||
return next(c)
|
||||
}
|
||||
|
||||
{
|
||||
// If there is openId in query string and related user is found, then skip auth.
|
||||
openID := c.QueryParam("openId")
|
||||
if openID != "" {
|
||||
|
@ -80,6 +81,7 @@ func aclMiddleware(s *Server, next echo.HandlerFunc) echo.HandlerFunc {
|
|||
return next(c)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
sess, _ := session.Get("session", c)
|
||||
|
|
|
@ -10,7 +10,7 @@ import (
|
|||
var Version = "0.4.3"
|
||||
|
||||
// DevVersion is the service current development version.
|
||||
var DevVersion = "0.5.0"
|
||||
var DevVersion = "0.4.4"
|
||||
|
||||
func GetCurrentVersion(mode string) string {
|
||||
if mode == "dev" {
|
||||
|
|
Loading…
Add table
Reference in a new issue