切换为 goja
This commit is contained in:
8
examples/JS/.pages.yaml
Normal file
8
examples/JS/.pages.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
routes:
|
||||
- path: "api/dev/**"
|
||||
js:
|
||||
exec: "index.js"
|
||||
debug: true
|
||||
- path: "api/prod/**"
|
||||
js:
|
||||
exec: "json.js"
|
||||
Reference in New Issue
Block a user