UNPKG

turbo-remote-cache-construct

Version:

A Turborepo Remote Cache implementation using AWS API Gateway, Lambda, S3, and DynamoDB.

2 lines (1 loc) 251 B
var n=async r=>{let e=process.env.TURBO_TOKEN;return e?{statusCode:200,body:JSON.stringify({token:e,user:{email:"user@example.com"}})}:{statusCode:500,body:JSON.stringify({error:"TURBO_TOKEN not set in environment variables"})}};export{n as handler};