cn-py-serv/config.py
John Solntsev 7697b7463e Write log files to directory
Move index file to parent directory, remove template directory
2024-06-04 17:25:11 +03:00

18 lines
323 B
Python

from logging import NOTSET, DEBUG, INFO, WARNING, ERROR, CRITICAL
from server.urlhandler import path
import testmod
SETUP = {
"setup": {
"log_level": DEBUG
},
"server": {
"port": 8080,
}
}
urls = [
path("/", "static-file", "index.html"),
path("/func", "function", testmod.work)
]