mirror of
https://github.com/theroyallab/tabbyAPI.git
synced 2026-04-20 22:38:55 +00:00
Main: Make openapi export store locally
This runs faster than always making a syscall to check if the env var is set. Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
3
endpoints/utils.py
Normal file
3
endpoints/utils.py
Normal file
@@ -0,0 +1,3 @@
|
||||
import os
|
||||
|
||||
do_export_openapi = os.getenv("EXPORT_OPENAPI", "").lower() in ("true", "1")
|
||||
Reference in New Issue
Block a user