MCPcopy Create free account
hub / github.com/HisMax/RedInk / fallback

Function fallback

backend/app.py:80–81  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

78 # 处理 Vue Router 的 HTML5 History 模式
79 @app.errorhandler(404)
80 def fallback(e):
81 return send_from_directory(app.static_folder, 'index.html')
82 else:
83 @app.route('/')
84 def index():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected