mirror of
https://github.com/phishingclub/phishingclub.git
synced 2026-02-12 16:12:44 +00:00
fix bad manual application update url
Signed-off-by: Ronni Skansing <rskansing@gmail.com>
This commit is contained in:
@@ -53,7 +53,6 @@ func NewServices(
|
||||
enviroment string,
|
||||
certMagicConfig *certmagic.Config,
|
||||
certMagicCache *certmagic.Cache,
|
||||
licenseServerURL string,
|
||||
filePath string,
|
||||
) *Services {
|
||||
common := service.Common{
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
package data
|
||||
|
||||
import "github.com/phishingclub/phishingclub/build"
|
||||
|
||||
// GetCrmURL returns the URL for the CRM system depending on the environment
|
||||
func GetCrmURL() string {
|
||||
if build.Flags.Production {
|
||||
return "https://user.phishing.club"
|
||||
}
|
||||
return "https://crm:8009"
|
||||
}
|
||||
@@ -159,8 +159,6 @@ func main() {
|
||||
db.Logger = db.Logger.LogMode(gormLogger.Silent)
|
||||
atomicLogger.SetLevel(zap.InfoLevel)
|
||||
}
|
||||
// set license server url
|
||||
licenseServer := data.GetCrmURL()
|
||||
// output debug information
|
||||
/*
|
||||
wd, err := os.Getwd()
|
||||
@@ -232,7 +230,6 @@ func main() {
|
||||
buildMode,
|
||||
certMagicConfig,
|
||||
certMagicCache,
|
||||
licenseServer,
|
||||
*flagFilePath,
|
||||
)
|
||||
// get entra-id options and setup msal client
|
||||
|
||||
Reference in New Issue
Block a user