mirror of
https://github.com/Redume/Kekkai.git
synced 2025-03-13 20:14:39 +03:00
chore(chart): rename config file, yaml to hjson
This commit is contained in:
parent
c00dea8a81
commit
6cddaa53a8
3 changed files with 3 additions and 3 deletions
|
@ -9,7 +9,7 @@ import asyncpg
|
||||||
|
|
||||||
from utils.load_config import load_config
|
from utils.load_config import load_config
|
||||||
|
|
||||||
config = load_config('config.yaml')
|
config = load_config('config.hjson')
|
||||||
|
|
||||||
async def create_pool() -> asyncpg.pool.Pool:
|
async def create_pool() -> asyncpg.pool.Pool:
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -16,7 +16,7 @@ from routes import get_chart, get_chart_period
|
||||||
from utils.load_config import load_config
|
from utils.load_config import load_config
|
||||||
|
|
||||||
app = FastAPI()
|
app = FastAPI()
|
||||||
config = load_config('config.yaml')
|
config = load_config('config.hjson')
|
||||||
|
|
||||||
if not os.path.exists('../charts'):
|
if not os.path.exists('../charts'):
|
||||||
os.mkdir('../charts')
|
os.mkdir('../charts')
|
||||||
|
|
|
@ -9,7 +9,7 @@ from user_agents import parse as ua_parse
|
||||||
|
|
||||||
from utils.load_config import load_config
|
from utils.load_config import load_config
|
||||||
|
|
||||||
config = load_config('config.yaml')
|
config = load_config('config.hjson')
|
||||||
|
|
||||||
# pylint: disable=too-few-public-methods
|
# pylint: disable=too-few-public-methods
|
||||||
class PlausibleAnalytics:
|
class PlausibleAnalytics:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue