lncm / invoicer

Invoice generating service that lives on top of lnd.
https://hub.docker.com/r/lncm/invoicer
MIT License
8 stars 3 forks source link

Add `/api/:routes`, remove `/static` #22

Closed meeDamian closed 5 years ago

IstoraMandiri commented 5 years ago

Better to have /api/ serve the api routes and / serve the static routes.

Related: https://github.com/lncm/invoicer-ui/issues/11

meeDamian commented 5 years ago

gin, the library I use doesn't seem to support that easily. Would rather not waste time on that, and move on to payment status endpoint.

If someone's interested in playing with it in the meantime, see here: https://github.com/lncm/invoicer/tree/swap-api-with-static-routes

Goals: