1
0
mirror of https://github.com/uetchy/namae.git synced 2025-09-10 10:06:39 +09:00

fix: reconstruct api

This commit is contained in:
2019-08-06 01:17:45 +09:00
parent 65453f95f7
commit a38cab3002
16 changed files with 87 additions and 80 deletions

View File

@@ -15,8 +15,8 @@
],
"routes": [
{
"src": "/availability/(?<provider>[^/]+)/(?<id>[^/]+)",
"dest": "/api/services/$provider.js?name=$id"
"src": "/availability/(?<provider>[^/]+)/(?<query>[^/]+)",
"dest": "/api/services/$provider.js?query=$query"
},
{
"src": "/(.*)",