mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
18 lines
271 B
Go
18 lines
271 B
Go
//go:build !release
|
|
// +build !release
|
|
|
|
package cmd
|
|
|
|
import (
|
|
"fmt"
|
|
)
|
|
|
|
// GetDevProfile will return a profile for dev.
|
|
func GetDevProfile(dataDir string) Profile {
|
|
return Profile{
|
|
mode: "8080",
|
|
port: 1234,
|
|
dsn: fmt.Sprintf("file:%s/memos_dev.db", dataDir),
|
|
}
|
|
}
|