I am making every path lead to index.html, since it is a single page app. I made a blueprint called mod and put all the restul api there using flask-restful
@mod.route('/')
@mod.route('/<path:p>')
def home(p=0):
return render_template('index.html')
is this right way to do it? I am little concerned about p=0 part. the variable p is never used, but has to be there since it has to receive path variable p