chore: add instance url to profile

This commit is contained in:
Steven
2024-08-13 22:16:43 +08:00
parent 9a27fdf855
commit c3f381c8c5
6 changed files with 59 additions and 42 deletions

View File

@@ -31,6 +31,8 @@ type Profile struct {
Public bool
// PasswordAuth is the flag whether the instance uses password authentication.
PasswordAuth bool
// InstanceURL is the url of your memos instance.
InstanceURL string
}
func (p *Profile) IsDev() bool {