Skip to content

Commit

Permalink
enable cors
Browse files Browse the repository at this point in the history
  • Loading branch information
nimarion committed Jan 16, 2024
1 parent 5b4beb3 commit 7da943c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { AppModule } from './app.module';

async function bootstrap() {
const app = await NestFactory.create(AppModule);

app.enableCors();
const config = new DocumentBuilder()
.setTitle('Photofinish API')
.setVersion('1.0')
Expand Down

0 comments on commit 7da943c

Please sign in to comment.