File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
tutorials/a-simple-walkthrough Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -45,10 +45,9 @@ def run():
4545 "log.screen" : True ,
4646 "server.socket_port" : 8444 ,
4747 "server.ssl_module" : "builtin" ,
48- "server.ssl_private_key" : os .path .join (cur_dir , "../../ key.pem" ),
49- "server.ssl_certificate" : os .path .join (cur_dir , "../../ cert.pem" )
48+ "server.ssl_private_key" : os .path .join (cur_dir , "key.pem" ),
49+ "server.ssl_certificate" : os .path .join (cur_dir , "cert.pem" )
5050 })
51- Daemonizer (cherrypy .engine ).subscribe ()
5251 PIDFile (cherrypy .engine , 'astre.pid' ).subscribe ()
5352 cherrypy .quickstart (Root ())
5453
Original file line number Diff line number Diff line change 55import requests
66
77cur_dir = os .path .abspath (os .path .dirname (__file__ ))
8- key_path = os .path .join (cur_dir , "../../ key.pem" )
9- cert_path = os .path .join (cur_dir , "../../ cert.pem" )
8+ key_path = os .path .join (cur_dir , "key.pem" )
9+ cert_path = os .path .join (cur_dir , "cert.pem" )
1010
1111
1212class Root :
@@ -35,7 +35,6 @@ def run():
3535 "server.ssl_private_key" : key_path ,
3636 "server.ssl_certificate" : cert_path
3737 })
38- Daemonizer (cherrypy .engine ).subscribe ()
3938 PIDFile (cherrypy .engine , 'sunset.pid' ).subscribe ()
4039 cherrypy .quickstart (Root ())
4140
You can’t perform that action at this time.
0 commit comments