This commit is contained in:
2025-06-04 03:04:37 -05:00
parent c885ede8af
commit d0338a0849
5 changed files with 61 additions and 22 deletions

View File

@ -54,7 +54,7 @@ def create_app():
mod = importlib.util.module_from_spec(spec)
spec.loader.exec_module(mod)
if hasattr(mod, 'bp'):
app.register_blueprint(mod.bp)
app.register_blueprint(mod.bp, strict_slashes=False)
except Exception as e:
print(f"[⚠️] Failed to load routes from plugin '{plugin}': {e}")