• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

askomics / flaskomics / 8143972779

04 Mar 2024 04:54PM UTC coverage: 83.219%. Remained the same
8143972779

Pull #449

github

web-flow
Merge 6d2bc1d30 into 91939bc97
Pull Request #449: Bump xml2js and parse-bmfont-xml

6283 of 7550 relevant lines covered (83.22%)

0.83 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/askomics/api/catch_url.py
1
"""Catch_all route
2
"""
3
from flask import Blueprint, redirect
×
4

5
catch_url_bp = Blueprint('catch_url', __name__, url_prefix='/')
×
6

7

8
@catch_url_bp.route('/<path:path>')
×
9
def catch_all(path):
×
10
    """Return all routes to home
11

12
    Parameters
13
    ----------
14
    path : str
15
        Original path
16

17
    Returns
18
    -------
19
    redirect
20
        Redirect to route /
21
    """
22

23
    return redirect('/?path={}'.format(path))
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc