Update Vercel.json
This commit is contained in:
parent
8cc6ac435a
commit
5a55df922e
1 changed files with 56 additions and 0 deletions
56
vercel.json
56
vercel.json
|
|
@ -12,34 +12,66 @@
|
||||||
"source": "/api/panel",
|
"source": "/api/panel",
|
||||||
"destination": "/api/panel.php"
|
"destination": "/api/panel.php"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"source": "/api/panel/",
|
||||||
|
"destination": "/api/panel.php"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"source": "/api/v1/accounts/login",
|
"source": "/api/v1/accounts/login",
|
||||||
"destination": "/api/v1/accounts/login.php"
|
"destination": "/api/v1/accounts/login.php"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"source": "/api/v1/accounts/login/",
|
||||||
|
"destination": "/api/v1/accounts/login.php"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"source": "/api/v1/accounts/register",
|
"source": "/api/v1/accounts/register",
|
||||||
"destination": "/api/v1/accounts/register.php"
|
"destination": "/api/v1/accounts/register.php"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"source": "/api/v1/accounts/register/",
|
||||||
|
"destination": "/api/v1/accounts/register.php"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"source": "/api/v1/accounts/upload_profile_pic",
|
"source": "/api/v1/accounts/upload_profile_pic",
|
||||||
"destination": "/api/v1/accounts/upload_profile_pic.php"
|
"destination": "/api/v1/accounts/upload_profile_pic.php"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"source": "/api/v1/accounts/upload_profile_pic/",
|
||||||
|
"destination": "/api/v1/accounts/upload_profile_pic.php"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"source": "/api/v1/accounts/logout",
|
"source": "/api/v1/accounts/logout",
|
||||||
"destination": "/api/v1/accounts/logout.php"
|
"destination": "/api/v1/accounts/logout.php"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"source": "/api/v1/accounts/logout/",
|
||||||
|
"destination": "/api/v1/accounts/logout.php"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"source": "/api/v1/accounts/current_user",
|
"source": "/api/v1/accounts/current_user",
|
||||||
"destination": "/api/v1/accounts/current_user.php"
|
"destination": "/api/v1/accounts/current_user.php"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"source": "/api/v1/accounts/current_user/",
|
||||||
|
"destination": "/api/v1/accounts/current_user.php"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"source": "/api/v1/users/check_email",
|
"source": "/api/v1/users/check_email",
|
||||||
"destination": "/api/v1/users/check_email.php"
|
"destination": "/api/v1/users/check_email.php"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"source": "/api/v1/users/check_email/",
|
||||||
|
"destination": "/api/v1/users/check_email.php"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"source": "/api/v1/feed/timeline",
|
"source": "/api/v1/feed/timeline",
|
||||||
"destination": "/api/v1/feed/timeline.php"
|
"destination": "/api/v1/feed/timeline.php"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"source": "/api/v1/feed/timeline/",
|
||||||
|
"destination": "/api/v1/feed/timeline.php"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"source": "/api/v1/feed/user/:user_id",
|
"source": "/api/v1/feed/user/:user_id",
|
||||||
"destination": "/api/v1/feed/user.php?user_id=:user_id"
|
"destination": "/api/v1/feed/user.php?user_id=:user_id"
|
||||||
|
|
@ -48,10 +80,18 @@
|
||||||
"source": "/api/v1/feed/liked",
|
"source": "/api/v1/feed/liked",
|
||||||
"destination": "/api/v1/feed/liked.php"
|
"destination": "/api/v1/feed/liked.php"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"source": "/api/v1/feed/liked/",
|
||||||
|
"destination": "/api/v1/feed/liked.php"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"source": "/api/v1/feed/popular",
|
"source": "/api/v1/feed/popular",
|
||||||
"destination": "/api/v1/feed/popular.php"
|
"destination": "/api/v1/feed/popular.php"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"source": "/api/v1/feed/popular/",
|
||||||
|
"destination": "/api/v1/feed/popular.php"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"source": "/api/v1/media/:media_id/like",
|
"source": "/api/v1/media/:media_id/like",
|
||||||
"destination": "/api/v1/media/like.php?media_id=:media_id"
|
"destination": "/api/v1/media/like.php?media_id=:media_id"
|
||||||
|
|
@ -76,10 +116,18 @@
|
||||||
"source": "/api/v1/media/upload",
|
"source": "/api/v1/media/upload",
|
||||||
"destination": "/api/v1/media/upload.php"
|
"destination": "/api/v1/media/upload.php"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"source": "/api/v1/media/upload/",
|
||||||
|
"destination": "/api/v1/media/upload.php"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"source": "/api/v1/media/configure",
|
"source": "/api/v1/media/configure",
|
||||||
"destination": "/api/v1/media/configure.php"
|
"destination": "/api/v1/media/configure.php"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"source": "/api/v1/media/configure/",
|
||||||
|
"destination": "/api/v1/media/configure.php"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"source": "/api/v1/users/:user_id/info",
|
"source": "/api/v1/users/:user_id/info",
|
||||||
"destination": "/api/v1/users/info.php?user_id=:user_id"
|
"destination": "/api/v1/users/info.php?user_id=:user_id"
|
||||||
|
|
@ -100,6 +148,10 @@
|
||||||
"source": "/api/v1/direct_v2/inbox",
|
"source": "/api/v1/direct_v2/inbox",
|
||||||
"destination": "/api/v1/direct_v2/inbox.php"
|
"destination": "/api/v1/direct_v2/inbox.php"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"source": "/api/v1/direct_v2/inbox/",
|
||||||
|
"destination": "/api/v1/direct_v2/inbox.php"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"source": "/api/v1/direct_v2/threads/:thread_id",
|
"source": "/api/v1/direct_v2/threads/:thread_id",
|
||||||
"destination": "/api/v1/direct_v2/threads.php?thread_id=:thread_id"
|
"destination": "/api/v1/direct_v2/threads.php?thread_id=:thread_id"
|
||||||
|
|
@ -107,6 +159,10 @@
|
||||||
{
|
{
|
||||||
"source": "/api/v1/direct_v2/threads/broadcast",
|
"source": "/api/v1/direct_v2/threads/broadcast",
|
||||||
"destination": "/api/v1/direct_v2/broadcast.php"
|
"destination": "/api/v1/direct_v2/broadcast.php"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/api/v1/direct_v2/threads/broadcast/",
|
||||||
|
"destination": "/api/v1/direct_v2/broadcast.php"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue