公告板
版本库
filestore
活动
搜索
登录
template
/
start_app
学习APP程序
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
first commit
cshenfu
2024-06-27
58aa6e282bb343503be3cb198948328ea3ed7b79
[template/start_app.git]
/
uniCloud-aliyun
/
cloudfunctions
/
router
/
util
/
urlrewrite.js
1
2
3
4
5
6
7
8
9
10
/**
* URL重写
* 如让 https://xxx.bspapp.com/http/router/aaa 指向云函数 template/db_api/pub/select
*/
module.exports = {
"rule":{
"^findById/(.+)": "template/db_api/pub/findById?_id=$1",
"^aaa$": "template/db_api/pub/select"
}
};