Commit 1cbb0837 authored by shahriar's avatar shahriar
Browse files

fix bug

parent e7592c49
......@@ -4,7 +4,7 @@ services:
prod:
container_name: instagram-lottery
image: instagram-lottery-prod:1.2.0
image: instagram-lottery-prod:1.5.0
build:
context: .
target: production
......
......@@ -3,12 +3,13 @@ import { AppModule } from './app.module';
async function bootstrap() {
const app = await NestFactory.create(AppModule);
await app.listen(3000);
app.enableCors({
origin: '*',
methods: 'GET,HEAD,PUT,PATCH,POST,DELETE,OPTIONS',
credentials: true,
})
await app.listen(3000);
}
bootstrap();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment