CostaCoffe/config/directory.py
2024-11-15 15:05:24 +07:00

19 lines
342 B
Python

from core import template
page = {
'public' :'pages/public'
}
static = [
{
"route" :"/css/<filepath:re:.*\.(css|sass|css.map)>",
"root" :"./static/css"
},
# add javascript route
{
"route" :"/js/<filepath:re:.*\.(js)>",
"root" :"./static/js"
}
]
template.add(static, "templates")