Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Update README and CLI ente.com references

Manav Rathidf60ffb87d54
diff --git a/README.md b/README.md
index 8e9ab69873..4f2b5d616f 100644
--- a/README.md
+++ b/README.md
@@ -48,7 +48,7 @@ You can also clone this repository and choose to self-host.
[<img height="40" src=".github/assets/f-droid-badge.png">](https://f-droid.org/packages/io.ente.photos.fdroid/)
[<img height="40" src=".github/assets/obtainium-badge.png">](https://apps.obtainium.imranr.dev/redirect?r=obtainium://app/%7B%22id%22%3A%22io.ente.photos.independent%22%2C%22url%22%3A%22https%3A%2F%2Fgithub.com%2Fente-io%2Fente%22%2C%22author%22%3A%22ente-io%22%2C%22name%22%3A%22Ente%20Photos%22%2C%22preferredApkIndex%22%3A0%2C%22additionalSettings%22%3A%22%7B%5C%22includePrereleases%5C%22%3Afalse%2C%5C%22fallbackToOlderReleases%5C%22%3Atrue%2C%5C%22filterReleaseTitlesByRegEx%5C%22%3A%5C%22%5C%22%2C%5C%22filterReleaseNotesByRegEx%5C%22%3A%5C%22%5C%22%2C%5C%22verifyLatestTag%5C%22%3Afalse%2C%5C%22dontSortReleasesList%5C%22%3Atrue%2C%5C%22useLatestAssetDateAsReleaseDate%5C%22%3Afalse%2C%5C%22releaseTitleAsVersion%5C%22%3Afalse%2C%5C%22trackOnly%5C%22%3Afalse%2C%5C%22versionExtractionRegEx%5C%22%3A%5C%22%5C%22%2C%5C%22matchGroupToUse%5C%22%3A%5C%22%5C%22%2C%5C%22versionDetection%5C%22%3Atrue%2C%5C%22releaseDateAsVersion%5C%22%3Afalse%2C%5C%22useVersionCodeAsOSVersion%5C%22%3Afalse%2C%5C%22apkFilterRegEx%5C%22%3A%5C%22ente-photos*%5C%22%2C%5C%22invertAPKFilter%5C%22%3Afalse%2C%5C%22autoApkFilterByArch%5C%22%3Atrue%2C%5C%22appName%5C%22%3A%5C%22%5C%22%2C%5C%22shizukuPretendToBeGooglePlay%5C%22%3Afalse%2C%5C%22allowInsecure%5C%22%3Afalse%2C%5C%22exemptFromBackgroundUpdates%5C%22%3Afalse%2C%5C%22skipUpdateNotifications%5C%22%3Afalse%2C%5C%22about%5C%22%3A%5C%22%5C%22%7D%22%2C%22overrideSource%22%3Anull%7D)
[<img height="40" src=".github/assets/desktop-badge.png">](https://ente.com/download/desktop)
-[<img height="40" src=".github/assets/web-badge.svg">](https://web.ente.io)
+[<img height="40" src=".github/assets/web-badge.svg">](https://photos.ente.com)
</div>
@@ -74,7 +74,7 @@ want to give back, please check out Ente Photos or spread the word.
[<img height="40" src=".github/assets/f-droid-badge.png">](https://f-droid.org/packages/io.ente.auth/)
[<img height="40" src=".github/assets/obtainium-badge.png">](https://apps.obtainium.imranr.dev/redirect?r=obtainium://app/%7B%22id%22%3A%22io.ente.auth.independent%22%2C%22url%22%3A%22https%3A%2F%2Fgithub.com%2Fente-io%2Fente%22%2C%22author%22%3A%22ente-io%22%2C%22name%22%3A%22Ente%20Auth%22%2C%22preferredApkIndex%22%3A0%2C%22additionalSettings%22%3A%22%7B%5C%22includePrereleases%5C%22%3Afalse%2C%5C%22fallbackToOlderReleases%5C%22%3Atrue%2C%5C%22filterReleaseTitlesByRegEx%5C%22%3A%5C%22%5C%22%2C%5C%22filterReleaseNotesByRegEx%5C%22%3A%5C%22%5C%22%2C%5C%22verifyLatestTag%5C%22%3Afalse%2C%5C%22dontSortReleasesList%5C%22%3Atrue%2C%5C%22useLatestAssetDateAsReleaseDate%5C%22%3Afalse%2C%5C%22releaseTitleAsVersion%5C%22%3Afalse%2C%5C%22trackOnly%5C%22%3Afalse%2C%5C%22versionExtractionRegEx%5C%22%3A%5C%22%5C%22%2C%5C%22matchGroupToUse%5C%22%3A%5C%22%5C%22%2C%5C%22versionDetection%5C%22%3Atrue%2C%5C%22releaseDateAsVersion%5C%22%3Afalse%2C%5C%22useVersionCodeAsOSVersion%5C%22%3Afalse%2C%5C%22apkFilterRegEx%5C%22%3A%5C%22ente-auth*%5C%22%2C%5C%22invertAPKFilter%5C%22%3Afalse%2C%5C%22autoApkFilterByArch%5C%22%3Atrue%2C%5C%22appName%5C%22%3A%5C%22%5C%22%2C%5C%22shizukuPretendToBeGooglePlay%5C%22%3Afalse%2C%5C%22allowInsecure%5C%22%3Afalse%2C%5C%22exemptFromBackgroundUpdates%5C%22%3Afalse%2C%5C%22skipUpdateNotifications%5C%22%3Afalse%2C%5C%22about%5C%22%3A%5C%22%5C%22%7D%22%2C%22overrideSource%22%3Anull%7D)
[<img height="40" src=".github/assets/desktop-badge.png">](https://github.com/ente-io/ente/releases?q=tag%3Aauth-v4)
-[<img height="40" src=".github/assets/web-badge.svg">](https://auth.ente.io)
+[<img height="40" src=".github/assets/web-badge.svg">](https://auth.ente.com)
</div>
diff --git a/cli/cmd/config.go b/cli/cmd/config.go
index 8a34b4054c..632d7559fd 100644
--- a/cli/cmd/config.go
+++ b/cli/cmd/config.go
@@ -42,7 +42,7 @@ var host string
func init() {
// Set up Viper configuration
// Set a default value for 'host' configuration
- viper.SetDefault("host", "https://api.ente.io")
+ viper.SetDefault("host", "https://api.ente.com")
// Add 'config' subcommands to the root command
//rootCmd.AddCommand(configCmd)
diff --git a/cli/internal/api/client.go b/cli/internal/api/client.go
index 9309360b81..a46ceac7c7 100644
--- a/cli/internal/api/client.go
+++ b/cli/internal/api/client.go
@@ -8,7 +8,7 @@ import (
)
const (
- EnteAPIEndpoint = "https://api.ente.io"
+ EnteAPIEndpoint = "https://api.ente.com"
TokenHeader = "X-Auth-Token"
TokenQuery = "token"
ClientPkgHeader = "X-Client-Package"
diff --git a/cli/internal/api/files.go b/cli/internal/api/files.go
index b0f82f692a..7643ab8caf 100644
--- a/cli/internal/api/files.go
+++ b/cli/internal/api/files.go
@@ -9,7 +9,7 @@ import (
)
var (
- downloadHost = "https://files.ente.io/?fileID="
+ downloadHost = "https://files.ente.com/?fileID="
)
func downloadUrl(fileID int64) string {
diff --git a/cli/utils/constants/constants.go b/cli/utils/constants/constants.go
index 65f9d39cb1..4618cc1e30 100644
--- a/cli/utils/constants/constants.go
+++ b/cli/utils/constants/constants.go
@@ -2,5 +2,5 @@ package constants
const CliDataPath = "/cli-data/"
-const EnteApiUrl = "https://api.ente.io"
+const EnteApiUrl = "https://api.ente.com"
const EnteAccountUrl = "https://accounts.ente.io"
diff --git a/web/packages/new/photos/services/settings.ts b/web/packages/new/photos/services/settings.ts
index 6d816b0845..3c09b5db2f 100644
--- a/web/packages/new/photos/services/settings.ts
+++ b/web/packages/new/photos/services/settings.ts
@@ -239,12 +239,12 @@ const setSettingsSnapshot = (snapshot: Settings) => {
* Return `true` if this is a development build, and the current user (if any)
* is marked as an "development" user.
*
- * Emails that end in "@ente.io" are considered as dev users.
+ * Emails that end in "@ente.com" are considered as dev users.
*/
export const isDevBuildAndUser = () => isDevBuild && isDevUserViaEmail();
const isDevUserViaEmail = () =>
- !!savedPartialLocalUser()?.email?.endsWith("@ente.io");
+ !!savedPartialLocalUser()?.email?.endsWith("@ente.com");
/**
* Persist the user's custom domain preference both locally and on remote.