CostaCoffe/config/directory.py
2023-05-03 23:01:57 +07:00

26 lines
511 B
Python

import os
# For templating
page = "static/page"
template = "static/template"
email = "static/email"
# For route
dirconfig = {
'/' :
{
'tools.sessions.on' : True ,
'tools.staticdir.root' : os.path.abspath(os.getcwd()) ,
},
'/lib' :
{
'tools.staticdir.on' : True ,
'tools.staticdir.dir' : './static/lib' ,
},
'/css' :
{
'tools.staticdir.on' : True ,
'tools.staticdir.dir' : './static/css' ,
},
}