Changeset View
Changeset View
Standalone View
Standalone View
swh/web/misc/urls.py
Show First 20 Lines • Show All 46 Lines • ▼ Show 20 Lines | |||||
urlpatterns = [ | urlpatterns = [ | ||||
url(r"^", include("swh.web.misc.coverage")), | url(r"^", include("swh.web.misc.coverage")), | ||||
url(r"^jslicenses/$", _jslicenses, name="jslicenses"), | url(r"^jslicenses/$", _jslicenses, name="jslicenses"), | ||||
url(r"^", include("swh.web.misc.origin_save")), | url(r"^", include("swh.web.misc.origin_save")), | ||||
url(r"^stat_counters/", _stat_counters, name="stat-counters"), | url(r"^stat_counters/", _stat_counters, name="stat-counters"), | ||||
url(r"^", include("swh.web.misc.badges")), | url(r"^", include("swh.web.misc.badges")), | ||||
url(r"^metrics/prometheus/$", prometheus_metrics, name="metrics-prometheus"), | url(r"^metrics/prometheus/$", prometheus_metrics, name="metrics-prometheus"), | ||||
url(r"^", include("swh.web.misc.iframe")), | url(r"^", include("swh.web.misc.iframe")), | ||||
url(r"^", include("swh.web.misc.forge_add")), | |||||
] | ] | ||||
# when running end to end tests trough cypress, declare some extra | # when running end to end tests trough cypress, declare some extra | ||||
# endpoints to provide input data for some of those tests | # endpoints to provide input data for some of those tests | ||||
if get_config()["e2e_tests_mode"]: | if get_config()["e2e_tests_mode"]: | ||||
from swh.web.tests.views import ( | from swh.web.tests.views import ( | ||||
get_content_code_data_all_exts, | get_content_code_data_all_exts, | ||||
▲ Show 20 Lines • Show All 41 Lines • Show Last 20 Lines |