friendly-lite-server
friendly-lite-server copied to clipboard
Swap `SECRET` and `API_KEY` ?
I don't know if it's just me, but from my point of view SECRET and API_KEY are used against the other convention.
Currently, you define SECRET, which you use as the sitekey in the widget. And when checking, the result the API_KEY is the parameter secret but then SECRET is the parameter sitekey.
Wouldn't it make sense to swap the variables in the lite server?
I think you are right. We could also just call it SITEKEY and so on
Yes, fwiw I found the naming of the parameters/constants confusing as well :-)