cn-py-serv/config.py

21 lines
325 B
Python
Raw Normal View History

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