Skip to content

Commit e27a682

Browse files
authored
Fixed URLs (#9902)
1 parent ec433b3 commit e27a682

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

install/pangolin-install.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ server:
6262
secret: "$SECRET_KEY"
6363
6464
gerbil:
65-
base_endpoint: "$pango_url"
65+
base_endpoint: "${pango_url#https://}"
6666
6767
flags:
6868
require_email_verification: false
@@ -130,7 +130,7 @@ http:
130130
routers:
131131
# HTTP to HTTPS redirect router
132132
main-app-router-redirect:
133-
rule: "Host(\`$pango_url\`)"
133+
rule: "Host(\`${pango_url#https://}\`)"
134134
service: next-service
135135
entryPoints:
136136
- web
@@ -139,7 +139,7 @@ http:
139139
140140
# Next.js router (handles everything except API and WebSocket paths)
141141
next-router:
142-
rule: "Host(\`$pango_url\`) && !PathPrefix(\`/api/v1\`)"
142+
rule: "Host(\`${pango_url#https://}\`) && !PathPrefix(\`/api/v1\`)"
143143
service: next-service
144144
entryPoints:
145145
- websecure
@@ -148,7 +148,7 @@ http:
148148
149149
# API router (handles /api/v1 paths)
150150
api-router:
151-
rule: "Host(\`$pango_url\`) && PathPrefix(\`/api/v1\`)"
151+
rule: "Host(\`${pango_url#https://}\`) && PathPrefix(\`/api/v1\`)"
152152
service: api-service
153153
entryPoints:
154154
- websecure
@@ -157,7 +157,7 @@ http:
157157
158158
# WebSocket router
159159
ws-router:
160-
rule: "Host(\`$pango_url\`)"
160+
rule: "Host(\`${pango_url#https://}\`)"
161161
service: api-service
162162
entryPoints:
163163
- websecure

0 commit comments

Comments
 (0)