Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/h-enk/doks.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenk Verlinde <henk@ventizo.com>2021-06-24 09:02:21 +0300
committerHenk Verlinde <henk@ventizo.com>2021-06-24 09:02:21 +0300
commit93f7598f872509805287b24d7d06fa3e6f745fbf (patch)
treeb4063b113c957945c6889070a655b33013d6d3b8 /functions
parent63786ab461255cbacc1d03182536c3104d5c3fcd (diff)
feat: add hugo-installer + auto-changelog
Diffstat (limited to 'functions')
-rw-r--r--functions/hi-from-lambda.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/functions/hi-from-lambda.js b/functions/hi-from-lambda.js
new file mode 100644
index 0000000..88e4fa0
--- /dev/null
+++ b/functions/hi-from-lambda.js
@@ -0,0 +1,11 @@
+exports.handler = (event, context, callback) => {
+ callback (null, {
+ statusCode: 200,
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ body: JSON.stringify({
+ message: 'Hi from Lambda.',
+ }),
+ });
+}