2016-08-18 95 views
0

我在python buildpack - watson服务应用程序中有多个屏幕(即页面)。我正在尝试创建一个简单的超链接到另一个屏幕。 Bluemix部署在designer-index.html启动应用程序。 appfile structure已部署bluemix应用程序超链接的上下文根

我使用这个源在应用程序中的超链接: xxxxx-xxxxx.mybluemix.net/templates/vehicle-selector.html

目前,我得到一个404 - 请求的URL没有被发现在服务器上。 我是否错过了带有上下文根的标记?

回答

1

文件中的templates目录通常呈现

@app.route('/vehicle') 
def showVehicle(): 
    return render_template('vehicle-selector.html') 

静态文件走在static目录

相关问题