mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: address comments
This commit is contained in:
@@ -11,7 +11,7 @@ import (
|
||||
func GetDevProfile(dataDir string) Profile {
|
||||
return Profile{
|
||||
mode: "8080",
|
||||
port: 1234,
|
||||
port: 8080,
|
||||
dsn: fmt.Sprintf("file:%s/memos_dev.db", dataDir),
|
||||
}
|
||||
}
|
||||
|
@@ -79,7 +79,7 @@ func (m *Main) Run() error {
|
||||
|
||||
m.db = db
|
||||
|
||||
s := server.NewServer()
|
||||
s := server.NewServer(m.profile.port)
|
||||
|
||||
s.ShortcutService = store.NewShortcutService(db)
|
||||
s.MemoService = store.NewMemoService(db)
|
||||
|
Reference in New Issue
Block a user