これがコードです。
import webapp2
from framework import bottle
from framework.bottle import route, template, request, error, debug
@route('/')
def root():
return 'hello world'
class MainHandler(webapp2.RequestHandler):
def get(self):
root()
app = webapp2.WSGIApplication([
('/', MainHandler)
], debug=True)
すべての依存関係 (フレームワーク、ボトルなど) がありますが、GAE を使用してデプロイすると、空のページが表示されます!
また、これらを試してみましたが、どれも機能しませんでした.GAEが設定を変更した可能性があります: