Skip to content

Commit 38464bc

Browse files
committed
CORS: fixed HTTPS handling and updated docs
1 parent ff03f35 commit 38464bc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/installation_guidelines/tls.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,12 @@ http {
9797
}
9898
```
9999

100-
3. Update the value of `HASHTOPOLIS_BACKEND_URL` in the `.env` file to reflect the changes done above.
100+
3. Update the value of `HASHTOPOLIS_BACKEND_URL` in the `.env` file to reflect the changes done above. If your server name isn't localhost, be sure to also update the comma-separated list of `HASHTOPOLIS_FRONTEND_URLS` to include new https frontend.
101101

102102
4. Start the containers
103103
```
104104
105105
docker compose up
106106
107107
```
108-
5. Visit hashtopolis at https://localhost/
108+
5. Visit hashtopolis at https://localhost/

env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ HASHTOPOLIS_DB_HOST=db
99

1010
HASHTOPOLIS_APIV2_ENABLE=0
1111
HASHTOPOLIS_BACKEND_URL=http://localhost:8080/api/v2
12-
HASHTOPOLIS_FRONTEND_URLS=http://127.0.0.1:4200,https://127.0.0.1:4200,http://localhost:4200,https://localhost:4200,http://127.0.0.1:8080,https://127.0.0.1:8080,http://localhost:8080,https://localhost:8080
12+
HASHTOPOLIS_FRONTEND_URLS=http://127.0.0.1:4200,http://localhost:4200,http://127.0.0.1:8080,http://localhost:8080,https://127.0.0.1,https://localhost

0 commit comments

Comments
 (0)