mirror of
https://github.com/skidoodle/albert.lol.git
synced 2025-02-15 06:09:15 +01:00
commit
This commit is contained in:
parent
a63dd109e7
commit
7108943dc2
1 changed files with 3 additions and 2 deletions
|
@ -1,9 +1,10 @@
|
|||
import aws from 'aws-sdk';
|
||||
import aws, { ConfigurationOptions } from 'aws-sdk';
|
||||
import { ServiceConfigurationOptions } from 'aws-sdk/lib/service';
|
||||
import { NextApiRequest, NextApiResponse } from 'next';
|
||||
|
||||
|
||||
export default async function handler(req: NextApiRequest, res: NextApiResponse) {
|
||||
aws.config.update({
|
||||
aws.config.s3 = ({
|
||||
accessKeyId: process.env.ACCESS_KEY,
|
||||
secretAccessKey: process.env.SECRET_KEY,
|
||||
region: process.env.REGION,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue