-
Notifications
You must be signed in to change notification settings - Fork 393
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Note: For inquiries while using PyWebIO or questions that might be helpful to others, please consider moving to Discussions for posting.
BUG Description
A clear and concise description of what the bug is and how to reproduce it.
If the browser console reports an error or the script throws an exception, please also report them.
Environment Information
- OS and Version:
- Browser and Version:
- Python Version: Use
python3 --versionto view - PyWebIO Version: Use
python3 -c "import pywebio;print(pywebio.__version__)"to view
main.py
@config(theme="minty", title=SEO_TITLE, description=SEO_DESCRIPTION)
def index() -> None:
app.mount("/", FastAPI(routes=webio_routes(index)))
app.mount("/feedback/", FastAPI(routes=webio_routes(feedback)))
feedback.py
@seo(SEO_TITLE, SEO_DESCRIPTION)
@config(theme="minty", js_file=[GA_JS_FILE], js_code=GA_JS_CODE)
def feedback() -> None:
run_js(LANDING_PAGE_HEADING)
run_js(FOOTER)
endpoint / is ok
endpoint /feedback is 404
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working