v0.9.5: bubble for Android 0.7.8 — the relay is just a relay server: its address is a setting, and deploy-relay.sh reads scripts/relay.env

This commit is contained in:
2026-11-16 11:19:54 -08:00
parent 8b3cfdca24
commit 6f365df087
24 changed files with 103 additions and 93 deletions
+2 -2
View File
@@ -73,7 +73,7 @@ describe('relay', () => {
})
it('only sends the token to tailscale or https', () => {
expect(checkUrl('http://100.69.139.40:8080/')).toBe('http://100.69.139.40:8080')
expect(checkUrl('http://100.101.102.103:8080/')).toBe('http://100.101.102.103:8080')
expect(() => checkUrl('http://example.com')).toThrow()
expect(checkUrl('https://example.com')).toBe('https://example.com')
})
@@ -143,7 +143,7 @@ describe('relay', () => {
const ref = await media.resolve(oldMms, 0)
expect(fs.readFileSync(media.filePath(ref!.file!)).toString()).toBe('fake png')
// Picked up = gone from jai.
// Picked up = gone from the relay server.
expect(await rabbit(key)).toEqual([])
engine.stop()
db.close()