feat: allow apps named tls

The `tls` name is no longer a reserved app name, and can be used by applications. This was previously a reserved app name due to it's use as a place for global SSL certificate files; Dokku has not supported global SSL certificates for many releases, and thus there is no need to reserve the name.
This commit is contained in:
Jose Diaz-Gonzalez
2020-05-08 23:57:30 -04:00
parent 4c748f2b36
commit 46287cac0f
4 changed files with 6 additions and 6 deletions

View File

@@ -346,7 +346,7 @@ func DokkuApps() (apps []string, err error) {
if !DirectoryExists(appRoot) {
continue
}
if f.Name() == "tls" || strings.HasPrefix(f.Name(), ".") {
if strings.HasPrefix(f.Name(), ".") {
continue
}
apps = append(apps, f.Name())