Skip to content

armgit / ente

Public Imported from GitHub
0

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

Rename

Neeraj Gupta3510c01e6e84
diff --git a/server/Dockerfile b/server/Dockerfile
index 594429f6cd..8a3ee192c3 100644
--- a/server/Dockerfile
+++ b/server/Dockerfile
@@ -19,7 +19,7 @@ COPY --from=builder /etc/ente/museum .
COPY configurations configurations
COPY migrations migrations
COPY mail-templates mail-templates
-COPY templates templates
+COPY web-templates web-templates
ARG GIT_COMMIT
ENV GIT_COMMIT=$GIT_COMMIT
diff --git a/server/cmd/museum/main.go b/server/cmd/museum/main.go
index 89d4178b3c..8df6b78192 100644
--- a/server/cmd/museum/main.go
+++ b/server/cmd/museum/main.go
@@ -374,8 +374,7 @@ func main() {
p.ReqCntURLLabelMappingFn = urlSanitizer
server.Use(p.HandlerFunc())
- server.LoadHTMLGlob("templates/*")
-
+ server.LoadHTMLGlob("web-templates/*")
// note: the recover middleware must be in the last
server.Use(requestid.New(
diff --git a/server/templates/account_recovered.html b/server/web-templates/account_recovered.html
similarity index 100%
rename from server/templates/account_recovered.html
rename to server/web-templates/account_recovered.html
diff --git a/server/templates/account_recovery_error.html b/server/web-templates/account_recovery_error.html
similarity index 100%
rename from server/templates/account_recovery_error.html
rename to server/web-templates/account_recovery_error.html