π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Ability to configure cname
Neeraj Guptabc1ae62477b3
diff --git a/server/cmd/museum/main.go b/server/cmd/museum/main.goindex e3301fe6db..cc10a67e8b 100644--- a/server/cmd/museum/main.go+++ b/server/cmd/museum/main.go@@ -98,6 +98,7 @@ func main() {}viper.SetDefault("apps.public-albums", "https://albums.ente.io")+ viper.SetDefault("apps.custom-domain.cname", "https://my.ente.io")viper.SetDefault("apps.public-locker", "https://locker.ente.io")viper.SetDefault("apps.accounts", "https://accounts.ente.io")viper.SetDefault("apps.cast", "https://cast.ente.io")diff --git a/server/configurations/local.yaml b/server/configurations/local.yamlindex a16f560e43..806add1428 100644--- a/server/configurations/local.yaml+++ b/server/configurations/local.yaml@@ -95,6 +95,9 @@ apps:accounts:# Default is https://family.ente.iofamily:+ custom-domain:+ # Default is https://my.ente.io+ cname:# Database connection parametersdb:diff --git a/server/ente/remotestore.go b/server/ente/remotestore.goindex 69f29cf543..d08181f72c 100644--- a/server/ente/remotestore.go+++ b/server/ente/remotestore.go@@ -33,6 +33,7 @@ type FeatureFlagResponse struct {EnableMobMultiPart bool `json:"enableMobMultiPart"`CastUrl string `json:"castUrl"`CustomDomain *string `json:"customDomain,omitempty"`+ CustomDomainCNAME string `json:"customDomainCNAME,omitempty"`}type FlagKey stringdiff --git a/server/pkg/controller/remotestore/controller.go b/server/pkg/controller/remotestore/controller.goindex 77d00947d4..bbbe741799 100644--- a/server/pkg/controller/remotestore/controller.go+++ b/server/pkg/controller/remotestore/controller.go@@ -75,6 +75,7 @@ func (c *Controller) GetFeatureFlags(ctx *gin.Context) (*ente.FeatureFlagRespons// except internal user.rtEnableMobMultiPart: true,CastUrl: viper.GetString("apps.cast"),+ CustomDomainCNAME: viper.GetString("apps.custom-domain.cname"),}for key, value := range values {flag := ente.FlagKey(key)