// mmc -- Mattermost client
-// Copyright (C) 2023 Sergey Matveev <stargrave@stargrave.org>
+// Copyright (C) 2023-2024 Sergey Matveev <stargrave@stargrave.org>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
func GetEntrypoint() string {
s := os.Getenv("MMC_ENTRYPOINT")
if s == "" {
- return "mm.invalid"
+ return "http://mm.invalid"
}
return s
}