CherryPy Hello World error

前端 未结 10 1104
广开言路
广开言路 2020-12-31 07:32

When I am running CherryPy Hello World:

import cherrypy

class HelloWorld:
    def index(self):
        return \"Hello world!\"
    index.exposed = True

che         


        
10条回答
  •  清酒与你
    2020-12-31 08:17

    As Jason R. Coombs wrote there is a problem with disabled loopback device. heroku.com has loopback disabled therefore CherryPy will crash. I filed a bug for this.

    Update: Reported as resolved.

提交回复
热议问题