Skip to content

Instantly share code, notes, and snippets.

@sunnyy02
Created September 10, 2022 23:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sunnyy02/1f60111808fdff69a817c2bc7b79948f to your computer and use it in GitHub Desktop.
Save sunnyy02/1f60111808fdff69a817c2bc7b79948f to your computer and use it in GitHub Desktop.
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();
@selvakumar-icanio
Copy link

where is the config object is from ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment