Complete API handlers refactoring to eliminate type switching and use repository pattern consistently
This commit is contained in:
12
insertr.yaml
12
insertr.yaml
@@ -2,7 +2,7 @@
|
||||
# Server and CLI configuration - library manages its own config
|
||||
|
||||
# Global settings
|
||||
dev_mode: false # Development mode (affects server CORS, CLI verbosity)
|
||||
dev_mode: true # Development mode (affects server CORS, CLI verbosity)
|
||||
|
||||
# Database configuration
|
||||
database:
|
||||
@@ -65,4 +65,12 @@ auth:
|
||||
oidc:
|
||||
endpoint: "" # https://auth.example.com/application/o/insertr/
|
||||
client_id: "" # insertr-client (OAuth2 client ID from Authentik)
|
||||
client_secret: "" # OAuth2 client secret (or use AUTHENTIK_CLIENT_SECRET env var)
|
||||
client_secret: "" # OAuth2 client secret (or use AUTHENTIK_CLIENT_SECRET env var)
|
||||
|
||||
# Library asset configuration
|
||||
library:
|
||||
base_url: "http://localhost:8080" # Base URL for development
|
||||
use_cdn: false # Use CDN in production
|
||||
cdn_base_url: "https://cdn.jsdelivr.net/npm/@insertr/lib"
|
||||
minified: false # Use full version for debugging
|
||||
version: "1.0.0" # Library version
|
||||
Reference in New Issue
Block a user