1
0
mirror of https://github.com/raseels-repos/golang-saas-starter-kit.git synced 2025-07-17 01:42:36 +02:00

updates for new devops transition

This commit is contained in:
Lee Brown
2019-08-19 20:21:48 -08:00
parent 15a2f72282
commit 1a49f8c4fb
12 changed files with 248 additions and 517 deletions

View File

@ -682,6 +682,15 @@ func DefineDeployService(log *log.Logger, ctx ServiceContext, deployEnv *devdepl
}
}
// Support for resizing static images files to be responsive.
if ctx.StaticFilesImgResizeEnable {
placeholders["{STATIC_FILES_IMG_RESIZE_ENABLED}"] = "true"
} else {
placeholders["{STATIC_FILES_IMG_RESIZE_ENABLED}"] = "false"
}
return nil
},
}