mirror of
https://github.com/skidoodle/albert.lol.git
synced 2025-02-15 06:09:15 +01:00
Use turbo & fix anonymous functions
This commit is contained in:
parent
3d9fde82c8
commit
4d9964623f
9 changed files with 1161 additions and 19 deletions
|
@ -3,7 +3,7 @@ import aws from "aws-sdk";
|
|||
|
||||
const { BUCKET, ACCESS_KEY, SECRET_KEY, ENDPOINT, REGION } = process.env;
|
||||
|
||||
export default async function (req: NextApiRequest, res: NextApiResponse) {
|
||||
export default async function Storage(req: NextApiRequest, res: NextApiResponse) {
|
||||
aws.config.s3 = {
|
||||
accessKeyId: ACCESS_KEY,
|
||||
secretAccessKey: SECRET_KEY,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue