ログインしていない場合、ユーザーがアセットを取得できないようにしたいのですが、以下が機能しない理由を教えてください:
http://domain-name:5000/static/index.html.
ログインしていなくても、ユーザーには index.html ファイルが提供されます。
lm.login_view = "/static/login.html"
@app.route('/',defaults={'path':''})
@app.route('/static/<path:path>')
@login_required
def root():
logging.debug('Login Required - Authenticated user. Will Redirect')
return redirect(path)
ありがとう!