Drop the unused htpasswd file and the secret in the sms readme

Also rename the Outline env template to .env.j2 so it does not look like a dotenv file.
This commit is contained in:
tanshu committed 2026-10-18 21:53:29 +05:30
1 parent 0882eb0dfa
commit f3845bde2b
4 files changed
+3 -5

No files matched your search

-2
View File
@@ -1,2 +0,0 @@
esp8266:esp8266
nodered:nodered
File renamed without changes.
+1 -1
View File
@@ -14,7 +14,7 @@
- name: Upload the .env file - name: Upload the .env file
template: template:
src: "files/.env" src: "files/.env.j2"
dest: "/var/lib/{{ host_directory }}/.env" dest: "/var/lib/{{ host_directory }}/.env"
- name: Create Outline container - name: Create Outline container
+2 -2
View File
@@ -391,7 +391,7 @@ Then end to end, which is the only check that proves the whole path — and it
```bash ```bash
curl -sS https://bridge.tanshu.dev/health curl -sS https://bridge.tanshu.dev/health
curl -sS -X POST https://bridge.tanshu.dev/sms \ curl -sS -X POST https://bridge.tanshu.dev/sms \
-H 'X-Auth: 64f205031acc01744b6edc23' \ -H "X-Auth: $AUTH_SECRET" \
-H 'Content-Type: application/json' \ -H 'Content-Type: application/json' \
-d '{"from":"HDFC Bank","text":"Your OTP is 123456"}' -d '{"from":"HDFC Bank","text":"Your OTP is 123456"}'
# sent x2 # sent x2
@@ -405,7 +405,7 @@ Finally, reboot the host and confirm the unit returns unattended — without
## Cutover ## Cutover
One change on each phone: the MacroDroid HTTP action URL becomes One change on each phone: the MacroDroid HTTP action URL becomes
`https://bridge.tanshu.dev/sms`. The header (`X-Auth: 64f205031acc01744b6edc23`) `https://bridge.tanshu.dev/sms`. The header `X-Auth: <auth_secret>`
and the body (`{"from":"{sms_number}","text":"{sms_text}"}`) stay exactly as they and the body (`{"from":"{sms_number}","text":"{sms_text}"}`) stay exactly as they
are — the goal of the whole arrangement is that nothing else has to be touched. are — the goal of the whole arrangement is that nothing else has to be touched.