Added proper server config model, added proper apikey authorization with swagger integration, added allowlist and denylist to config
This commit is contained in:
@@ -12,9 +12,9 @@ public class AccountController : Controller
|
||||
{
|
||||
private readonly SimpleAuthOptions _options;
|
||||
|
||||
public AccountController(IOptions<SimpleAuthOptions> options)
|
||||
public AccountController(EmbeddingSearchOptions options)
|
||||
{
|
||||
_options = options.Value;
|
||||
_options = options.SimpleAuth;
|
||||
}
|
||||
|
||||
[HttpGet("Login")]
|
||||
|
||||
Reference in New Issue
Block a user