chore: Update node and Go environment images in CI (#2240)
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
module.exports = async function (context) {
|
||||
module.exports = async (context) => {
|
||||
return {
|
||||
status: 200,
|
||||
body: "hello, world!\n",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
var url = require("url");
|
||||
|
||||
module.exports = async function (context) {
|
||||
module.exports = async (context) => {
|
||||
console.log(context.request.url);
|
||||
|
||||
var url_parts = url.parse(context.request.url, true);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
module.exports = async function (context) {
|
||||
module.exports = async (context) => {
|
||||
var splitStringArray = context.request.split(" ");
|
||||
|
||||
return {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
const momentpackage = require("moment");
|
||||
|
||||
module.exports = async function (context) {
|
||||
module.exports = async (context) => {
|
||||
return {
|
||||
status: 200,
|
||||
body: "Hello " + momentpackage().format(),
|
||||
|
||||
Reference in New Issue
Block a user