2022-01-25 02:40:38 +00:00
|
|
|
#!/usr/bin/python
|
|
|
|
|
2022-01-25 02:43:21 +00:00
|
|
|
from sys import argv
|
2022-01-25 02:40:38 +00:00
|
|
|
from http.server import HTTPServer
|
|
|
|
from srvuser import srvuser
|
|
|
|
|
|
|
|
|
|
|
|
# Create and run server
|
2022-02-03 00:52:38 +00:00
|
|
|
print('Starting server')
|
2022-01-25 13:34:34 +00:00
|
|
|
httpd = HTTPServer(('localhost', 1337), srvuser)
|
2022-01-25 02:43:21 +00:00
|
|
|
httpd.serve_forever()
|