Skip to content

armgit / ente

Public Imported from GitHub
0

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

Move museum app defaults to ente.com

Manav Rathi5a10ad73c52b
diff --git a/docs/docs/self-hosting/installation/config.md b/docs/docs/self-hosting/installation/config.md
index 918099457f..17813cdd31 100644
--- a/docs/docs/self-hosting/installation/config.md
+++ b/docs/docs/self-hosting/installation/config.md
@@ -71,15 +71,15 @@ Upon configuration, the application will start utilizing the specified endpoints
instead of Ente's production instances or local endpoints (overridden values
used for Compose and quickstart for ease of use.)
-| Variable | Description | Default |
-| ---------------------- | ------------------------------------------------------- | -------------------------- |
-| `apps.public-albums` | Albums app base endpoint for public sharing | `https://albums.ente.io` |
-| `apps.public-locker` | Public Locker (share) app base endpoint | `https://share.ente.io` |
-| `apps.public-paste` | Ente Paste app base endpoint | `https://paste.ente.com` |
-| `apps.public-memories` | Memories app base endpoint for public memory shares | `https://memories.ente.io` |
-| `apps.cast` | Cast app base endpoint | `https://cast.ente.io` |
-| `apps.embed-albums` | Embed app base endpoint for embedded sharing | `https://embed.ente.io` |
-| `apps.accounts` | Accounts app base endpoint (used for passkey-based 2FA) | `https://accounts.ente.io` |
+| Variable | Description | Default |
+| ---------------------- | ------------------------------------------------------- | --------------------------- |
+| `apps.public-albums` | Albums app base endpoint for public sharing | `https://albums.ente.com` |
+| `apps.public-locker` | Public Locker (share) app base endpoint | `https://share.ente.com` |
+| `apps.public-paste` | Ente Paste app base endpoint | `https://paste.ente.com` |
+| `apps.public-memories` | Memories app base endpoint for public memory shares | `https://memories.ente.com` |
+| `apps.cast` | Cast app base endpoint | `https://cast.ente.com` |
+| `apps.embed-albums` | Embed app base endpoint for embedded sharing | `https://embed.ente.com` |
+| `apps.accounts` | Accounts app base endpoint (used for passkey-based 2FA) | `https://accounts.ente.io` |
### Database
diff --git a/server/configurations/local.yaml b/server/configurations/local.yaml
index 6fd3131e28..e40683c01f 100644
--- a/server/configurations/local.yaml
+++ b/server/configurations/local.yaml
@@ -82,15 +82,15 @@ http:
# Specify the base endpoints for various apps
apps:
- # Default is https://albums.ente.io
+ # Default is https://albums.ente.com
#
# If you're running a self hosted instance and wish to serve public links for photos,
# set this to the URL where your albums web app is running.
public-albums:
- # Default is https://embed.ente.io
+ # Default is https://embed.ente.com
# For self-hosted instances, set this to the URL where your embed app is running.
embed-albums:
- # Default is https://share.ente.io
+ # Default is https://share.ente.com
#
# If you're running a self-hosted instance and wish to serve public links for locker,
# set this to the URL where your share web app is running.
@@ -100,7 +100,7 @@ apps:
# If you're running a self-hosted instance and wish to serve Ente Paste,
# set this to the URL where your paste web app is running.
public-paste:
- # Default is https://cast.ente.io
+ # Default is https://cast.ente.com
cast:
# Default is https://accounts.ente.io
# Set this to the URL where your accounts web app is running, primarily used for
@@ -108,7 +108,7 @@ apps:
accounts:
# Default is https://family.ente.io
family:
- # Default is https://memories.ente.io
+ # Default is https://memories.ente.com
#
# If you're running a self-hosted instance and wish to serve public memory shares,
# set this to the URL where your memories web app is running.
diff --git a/server/pkg/controller/stripe.go b/server/pkg/controller/stripe.go
index 71597ccfe5..e96fafefed 100644
--- a/server/pkg/controller/stripe.go
+++ b/server/pkg/controller/stripe.go
@@ -215,7 +215,7 @@ func (c *StripeController) findHandlerForEvent(event stripe.Event) func(event st
func (c *StripeController) handleCheckoutSessionCompleted(event stripe.Event, country ente.StripeAccountCountry) (ente.StripeEventLog, error) {
var session stripe.CheckoutSession
json.Unmarshal(event.Data.Raw, &session)
- if session.ClientReferenceID != "" { // via payments.ente.io, where we inserted the userID
+ if session.ClientReferenceID != "" { // via payments.ente.com, where we inserted the userID
userID, _ := strconv.ParseInt(session.ClientReferenceID, 10, 64)
newSubscription, err := c.GetVerifiedSubscription(userID, session.ID)
if err != nil {
diff --git a/server/pkg/repo/memory_share.go b/server/pkg/repo/memory_share.go
index 668b09cbb5..72058a10c7 100644
--- a/server/pkg/repo/memory_share.go
+++ b/server/pkg/repo/memory_share.go
@@ -22,7 +22,7 @@ type MemoryShareRepository struct {
func NewMemoryShareRepository(db *sql.DB) *MemoryShareRepository {
memoryHost := viper.GetString("apps.public-memories")
if memoryHost == "" {
- memoryHost = "https://memories.ente.io"
+ memoryHost = "https://memories.ente.com"
}
return &MemoryShareRepository{
DB: db,
diff --git a/server/pkg/repo/public/collection_link.go b/server/pkg/repo/public/collection_link.go
index c2957823df..39b22f6500 100644
--- a/server/pkg/repo/public/collection_link.go
+++ b/server/pkg/repo/public/collection_link.go
@@ -24,11 +24,11 @@ type CollectionLinkRepo struct {
// NewCollectionLinkRepository ..
func NewCollectionLinkRepository(db *sql.DB, albumHost string) *CollectionLinkRepo {
if albumHost == "" {
- albumHost = "https://albums.ente.io"
+ albumHost = "https://albums.ente.com"
}
lockerHost := viper.GetString("apps.public-locker")
if lockerHost == "" {
- lockerHost = "https://share.ente.io"
+ lockerHost = "https://share.ente.com"
}
return &CollectionLinkRepo{
DB: db,
diff --git a/server/pkg/repo/public/file_link.go b/server/pkg/repo/public/file_link.go
index 8916554c05..18ef9af43b 100644
--- a/server/pkg/repo/public/file_link.go
+++ b/server/pkg/repo/public/file_link.go
@@ -25,11 +25,11 @@ type FileLinkRepository struct {
func NewFileLinkRepo(db *sql.DB) *FileLinkRepository {
albumHost := viper.GetString("apps.public-albums")
if albumHost == "" {
- albumHost = "https://albums.ente.io"
+ albumHost = "https://albums.ente.com"
}
lockerHost := viper.GetString("apps.public-locker")
if lockerHost == "" {
- lockerHost = "https://share.ente.io"
+ lockerHost = "https://share.ente.com"
}
return &FileLinkRepository{
DB: db,