15 lines
260 B
Python
15 lines
260 B
Python
from dash import html
|
|
from dotenv import dotenv_values
|
|
import os
|
|
|
|
env = {
|
|
**dotenv_values(".env"),
|
|
**os.environ,
|
|
}
|
|
|
|
|
|
layout = html.Div([
|
|
html.H1('This is our Config page'),
|
|
html.Ul(children = [html.Li(f"{k} = {v}") for k,v in env.items()]),
|
|
])
|