Implement API key authentication by introducing a new auth module. Update configuration and .env.example to support API key setup, and add authorization checks in the server endpoints.
3 lines
44 B
Plaintext
3 lines
44 B
Plaintext
PORT=11434
|
|
VERBOSE=false
|
|
API_KEY=MY0P3NA1K3Y |