believethehype / nostdress

Lightning addresses server based on satdress. Adapted to work with Nostr features (NIP05, NIP57)
MIT License
47 stars 14 forks source link

If ALLOW_API is false - docker container not started #25

Closed Perlover closed 10 months ago

Perlover commented 1 year ago

Hello,

I want to turn off API

I set ALLOW_API=false in docker-compose.yml but after this container is not run If I set ALLOW_API=true then a container works again

Perlover commented 1 year ago

https://github.com/believethehype/nostdress/blob/master/main.go#L283

I think this and the following lines should be taken out for a condition that is worked out only when the API is enabled

believethehype commented 10 months ago

It's merged but the git autobuild seems to have problems currently

believethehype commented 10 months ago

We're so back.