You've already forked golang-saas-starter-kit
mirror of
https://github.com/raseels-repos/golang-saas-starter-kit.git
synced 2025-08-10 22:41:25 +02:00
Added sitemap to webapp
This commit is contained in:
@@ -2552,8 +2552,6 @@ func ServiceDeploy(log *log.Logger, req *serviceDeployRequest) error {
|
||||
pks = append(pks, k)
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Read the defined json task definition.
|
||||
dat, err := EcsReadTaskDefinition(req.ServiceDir, req.Env)
|
||||
if err != nil {
|
||||
@@ -2602,13 +2600,13 @@ func ServiceDeploy(log *log.Logger, req *serviceDeployRequest) error {
|
||||
|
||||
replaced := make(map[string]bool)
|
||||
for _, m := range matches {
|
||||
m = strings.Trim(m, "{}")
|
||||
if replaced[m] {
|
||||
continue
|
||||
}
|
||||
replaced[m] = true
|
||||
|
||||
newVal := os.Getenv(m)
|
||||
envKey := strings.Trim(m, "{}")
|
||||
newVal := os.Getenv(envKey)
|
||||
log.Printf("\t\t\t%s -> %s", m, newVal)
|
||||
jsonStr = strings.Replace(jsonStr, m, newVal, -1)
|
||||
}
|
||||
|
Reference in New Issue
Block a user