mirror of
https://github.com/Rainyy21/k3s-health-dashboard.git
synced 2026-10-11 00:50:20 -04:00
finish the main code
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
"""
|
||||
app/__init__.py
|
||||
|
||||
Makes `app/` a Python package and exposes a single shared Config instance.
|
||||
|
||||
Usage anywhere in the project:
|
||||
from app import cfg
|
||||
print(cfg.cache_ttl)
|
||||
"""
|
||||
|
||||
from app.config import load
|
||||
|
||||
cfg = load()
|
||||
Reference in New Issue
Block a user