Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| const aws = require("aws-sdk"); | |
| const sharp = require("sharp"); | |
| exports.handler = async (event) => { | |
| const bucket = process.env['S3_BUCKET']; | |
| const key = event.pathParameters.proxy; | |
| const queryParams = event.queryStringParameters; | |
| let resultImage = ''; |