costapy/config/directory.py

14 lines
224 B
Python
Raw Normal View History

2024-05-12 02:18:32 +07:00
from core import template
2023-12-15 16:58:00 +07:00
2023-11-04 19:12:11 +07:00
page = {
2024-05-12 02:18:32 +07:00
'public' :'pages/public'
2023-11-04 19:12:11 +07:00
}
2024-05-12 02:18:32 +07:00
static = [
2022-03-16 11:06:52 +07:00
{
2024-05-12 02:18:32 +07:00
"route" :"/css/<filepath:re:.*\.(css|sass|css.map)>",
"root" :"./static/css"
}
]
template.add(static, "templates")