Skip to content

Commit

Permalink
Ready to Deploy2
Browse files Browse the repository at this point in the history
  • Loading branch information
MOHAMMAD-ALSUBAIE committed Dec 10, 2023
1 parent 505005a commit ff19906
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Backend/build/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Backend/build/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Backend/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ declare module "express-session" {
app.use(express.json());

app.use(cors({
origin: ["http://localhost:5173", "http://127.0.0.1:5173"],
origin: ["https://darb-ai-la9o.vercel.app"],
methods: ['GET','HEAD','PUT','PATCH','POST','DELETE'],
credentials: true,
}))
Expand Down

0 comments on commit ff19906

Please sign in to comment.