สามารถใช้ตัว repo หน้าเว็บ siamstr แล้วปรับ reverse proxy เมื่อเข้ามา path "/" ก็โยนไป port หน้า wherostr ได้เลยครับ ส่วน path .well-known เราก็ชี้ไปยัง port ที่เรารันตัว siamstr ไว้ แค่นี้ก็ได้แล้วครับ

Reply to this note

Please Login to reply.

Discussion

อยากจะทำให้ UI ของ wherostr ลิงค์ไป add NIP-05 @siamstr.com เลย พอจะมีช่องมั้ยครับ

ถ้าสร้าง field input email

แล้ว listen API ป้อน input username @siamstr.com

> ยิง json username String

> return status: 0|1 (true|false) ว่า username ใช้ได้ไหมอันนึงนึง

และมี ปุ่ม add ยิง json

username: String,

pubkey: String,

lnurl: String ถ้าไม่ใช้ปล่อยว่าง Empty not Null,

น่าจะเอาเอาไปใช้ได้เลยนะครับ ตัว API ไว้หลังไมค์กันได้ครับ