chore: update server profile

This commit is contained in:
boojack
2022-05-22 09:29:34 +08:00
parent 0b3c77c79c
commit c3c2882dc5
8 changed files with 56 additions and 58 deletions

View File

@ -2,7 +2,7 @@ package server
import (
"fmt"
"memos/common"
"memos/server/profile"
"memos/store"
"time"
@ -16,12 +16,12 @@ import (
type Server struct {
e *echo.Echo
Profile *common.Profile
Profile *profile.Profile
Store *store.Store
}
func NewServer(profile *common.Profile) *Server {
func NewServer(profile *profile.Profile) *Server {
e := echo.New()
e.Debug = true
e.HideBanner = true