Skip to content

Commit

Permalink
cors enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Berat Genç authored and Berat Genç committed Jan 18, 2024
1 parent 685ef5c commit a203371
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ generator client {

datasource db {
provider = "mysql"
url = "mysql://root:ysxgdil0@35.195.248.72:3306/taskManagerp"
url = "mysql://root:ysxgdil0@35.195.248.72:3306/taskManager"
}

model Employee {
Expand Down
1 change: 0 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ async function bootstrap() {
const app = await NestFactory.create(AppModule)
app.enableCors({
origin: 'https://app.taskermanager.online',
// origin: ['https://app.taskermanager.online', 'http://localhost:3000'],
credentials: true
})

Expand Down

0 comments on commit a203371

Please sign in to comment.