lib.itmens/common/urls.py

13 lines
276 B
Python
Raw Normal View History

2023-07-20 21:59:49 -04:00
from django.urls import path, re_path
2020-05-01 22:46:15 +08:00
from .views import *
app_name = "common"
2023-02-15 15:45:57 -05:00
urlpatterns = [
path("", home),
path("home/", home, name="home"),
path("me/", me, name="me"),
path("nodeinfo/2.0/", nodeinfo2),
2023-07-20 21:59:49 -04:00
re_path("^~neodb~(?P<uri>.+)", ap_redirect),
2023-02-15 15:45:57 -05:00
]