Created
September 10, 2022 23:53
-
-
Save sunnyy02/1f60111808fdff69a817c2bc7b79948f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
async function bootstrap() { | |
const app = await NestFactory.create(AppModule); | |
app.setGlobalPrefix('api'); | |
config.update({ | |
accessKeyId: '[your S3 Access key]', | |
secretAccessKey: '[your S3 secret]', | |
region: '[your S3 region]', | |
}); | |
await app.listen(3000); | |
} | |
bootstrap(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
where is the config object is from ?