You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							19 lines
						
					
					
						
							363 B
						
					
					
				
			
		
		
	
	
							19 lines
						
					
					
						
							363 B
						
					
					
				#!/usr/bin/env python3
 | 
						|
 | 
						|
import _pathfix
 | 
						|
 | 
						|
from mhapi.web.wsgi import application
 | 
						|
 | 
						|
LISTEN_HOST = ""
 | 
						|
LISTEN_PORT = 8080
 | 
						|
 | 
						|
if __name__ == '__main__':
 | 
						|
    import sys
 | 
						|
 | 
						|
    from wsgiref.simple_server import make_server
 | 
						|
    httpd = make_server(LISTEN_HOST, LISTEN_PORT, application)
 | 
						|
    try:
 | 
						|
        httpd.serve_forever()
 | 
						|
    except KeyboardInterrupt:
 | 
						|
        print("^C")
 |