Иван Солнцев
887e8da01b
Add - internal project file iterator function - path function to locate user files (first allocate as static-files) - primitive HTML page files for demonstrate server functional Change - Response class as iterator - code for send response to client
13 lines
190 B
Python
13 lines
190 B
Python
from server.url import path
|
|
|
|
|
|
SETUP = {
|
|
"server": {
|
|
"port": 8080,
|
|
}
|
|
}
|
|
|
|
urls = [
|
|
path("/", "static-file", "index.html"),
|
|
path("/template", "template", "index.html")
|
|
]
|