Global Feed Post Login
Replying to Avatar Lurking Cat

Thank you. It's only possible because of your great works together with #[6] to make nostr-wallet-connect implementation 🙏

Maybe only a bit suggestion for the future, can you provide alternative of Postgres in ENV variable like using Sqlite as it will give more portability option? Currently, have to replace the code manually from Postgres to Sqlite in main.go

db, err := gorm.Open(sqlite.Open("wc.db"), &gorm.Config{})

Avatar
Kwinten 2y ago

Yes, Sqlite will be the default for self hosting

Reply to this note

Please Login to reply.

Discussion

Avatar
Lurking Cat 2y ago

Great, thank you..

Thread collapsed
Avatar
mutatrum 2y ago

What does it use a database for?

Avatar
Kwinten 2y ago

Good question. It uses this to store an app-specific key to share with the nostr client that you can revoke.

Thread collapsed
Thread collapsed