mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: bump version
This commit is contained in:
@@ -106,7 +106,7 @@ func (s *Server) Start(ctx context.Context) error {
|
|||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
go func() {
|
go func() {
|
||||||
httpListener := muxServer.Match(cmux.HTTP1Fast())
|
httpListener := muxServer.Match(cmux.HTTP1Fast(http.MethodPatch))
|
||||||
s.echoServer.Listener = httpListener
|
s.echoServer.Listener = httpListener
|
||||||
if err := s.echoServer.Start(address); err != nil {
|
if err := s.echoServer.Start(address); err != nil {
|
||||||
slog.Error("failed to start echo server", err)
|
slog.Error("failed to start echo server", err)
|
||||||
|
@@ -9,10 +9,10 @@ import (
|
|||||||
|
|
||||||
// Version is the service current released version.
|
// Version is the service current released version.
|
||||||
// Semantic versioning: https://semver.org/
|
// Semantic versioning: https://semver.org/
|
||||||
var Version = "0.22.2"
|
var Version = "0.22.3"
|
||||||
|
|
||||||
// DevVersion is the service current development version.
|
// DevVersion is the service current development version.
|
||||||
var DevVersion = "0.22.2"
|
var DevVersion = "0.22.3"
|
||||||
|
|
||||||
func GetCurrentVersion(mode string) string {
|
func GetCurrentVersion(mode string) string {
|
||||||
if mode == "dev" || mode == "demo" {
|
if mode == "dev" || mode == "demo" {
|
||||||
|
Reference in New Issue
Block a user