pull down to refresh
20 sats \ 2 replies \ @nullama OP 23 Sep 2022 \ parent \ on: Template app for making Lightning Apps⚡ with Authentication, WebLN, and QR-Code! bitcoin
Looks like it's not reading the .env file.
Add this in the beginning of src/server/server.js
const { config } = require('dotenv');
and this just before // Validate configuration
config();
Great, it works now.
FYI, I had to kill a docker process locking port 3000 before it did (using
kill -9 $(lsof -ti:3000)
).Will try experimenting a bit with it all now
reply
Alby login throws Network Error, but that's probably outside of this app's control.
Anyhow, can confirm it looks like a neat template to start building on. Good job!
reply