Flask visits all URL 404s and asks the boss to help see what the problem is.

writes a simple Flask Web Application, but when Debug, all URL accesses return 404

Code Project:
https://github.com/jualy007/n...

RuleMap contains many rule. Simply take a rule:
Rule"/ home" (HEAD, OPTIONS, GET)-> home.hometest

127.0.0.1:8000/home returns 404 when visiting, Debug Console log:
127.0.0.1-- [02/Jan/2019 18:25:35] "GET / home HTTP/1.1" 404-

ask the boss to help see what the problem is?

Mar.30,2022

you can try to modify your register_blueprint function. When
registers the blueprint, add a parameter url_prefix
example:

-sharp :/admin + route
app.register_blueprint(admin_bp, url_prefix='/admin')

= =

New answer

def configure_app(app, config):
    -sharp 
    -sharp app.config.from_object("configs.default.DefaultConfig")
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3a2f8-345be.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3a2f8-345be.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?