Update default script to export function as we are now using deno to execute functions
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
DEFAULT_FUNCTION_NAME = 'foo'
|
||||
|
||||
DEFAULT_SCRIPT = """async (req) => {
|
||||
DEFAULT_SCRIPT = """export default async (req) => {
|
||||
console.log(`Method:${req.method}`)
|
||||
console.log(`Generating ${environment.lines} random lines...`)
|
||||
let svgContent = "";
|
||||
|
||||
Reference in New Issue
Block a user