Commit 19ef97a7 authored by Steven's avatar Steven

chore: update dev version

parent 2c17ea70
...@@ -64,6 +64,7 @@ func aclMiddleware(s *Server, next echo.HandlerFunc) echo.HandlerFunc { ...@@ -64,6 +64,7 @@ func aclMiddleware(s *Server, next echo.HandlerFunc) echo.HandlerFunc {
return next(c) return next(c)
} }
{
// If there is openId in query string and related user is found, then skip auth. // If there is openId in query string and related user is found, then skip auth.
openID := c.QueryParam("openId") openID := c.QueryParam("openId")
if openID != "" { if openID != "" {
...@@ -80,6 +81,7 @@ func aclMiddleware(s *Server, next echo.HandlerFunc) echo.HandlerFunc { ...@@ -80,6 +81,7 @@ func aclMiddleware(s *Server, next echo.HandlerFunc) echo.HandlerFunc {
return next(c) return next(c)
} }
} }
}
{ {
sess, _ := session.Get("session", c) sess, _ := session.Get("session", c)
......
...@@ -10,7 +10,7 @@ import ( ...@@ -10,7 +10,7 @@ import (
var Version = "0.4.3" var Version = "0.4.3"
// DevVersion is the service current development version. // DevVersion is the service current development version.
var DevVersion = "0.5.0" var DevVersion = "0.4.4"
func GetCurrentVersion(mode string) string { func GetCurrentVersion(mode string) string {
if mode == "dev" { if mode == "dev" {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment