Add v2 interface support for nodes env (#836)

This commit is contained in:
Gary Yeap
2018-09-14 14:28:04 +08:00
committed by Ta-Ching Chen
parent 8a4632a630
commit 0b651bb374
11 changed files with 289 additions and 125 deletions
+13
View File
@@ -0,0 +1,13 @@
module.exports.entry1 = async function(context) {
return {
status: 200,
body: "Hello, entry 1!\n"
};
}
module.exports.entry2 = async function(context) {
return {
status: 200,
body: "Hello, entry 2!\n"
};
}