feat(auth): add api key authentication
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.
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
PORT=11434
|
||||
VERBOSE=false
|
||||
VERBOSE=false
|
||||
API_KEY=MY0P3NA1K3Y
|
||||
Reference in New Issue
Block a user