Skip to content

Commit

Permalink
Update app.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
SakshiDangi authored Oct 31, 2023
1 parent 8e6159f commit 3f7f8f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ config();
const app = express();

//middlewares
app.use(cors({ origin: "https://aibot-weld.vercel.app", methods: ["POST", "GET"], credentials: true }));
app.use(cors({ origin: "https://aibot-cj7k.vercel.app/", methods: ["POST", "GET"], credentials: true }));
app.use(express.json());
app.use(cookieParser(process.env.COOKIE_SECRET));

Expand All @@ -17,4 +17,4 @@ app.use(morgan("dev"));

app.use("/api/v1", appRouter);

export default app;
export default app;

1 comment on commit 3f7f8f4

@vercel
Copy link

@vercel vercel bot commented on 3f7f8f4 Oct 31, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

aibot-cj7k – ./client

aibot-cj7k-sakshidangi.vercel.app
aibot-cj7k.vercel.app
aibot-cj7k-git-main-sakshidangi.vercel.app

Please sign in to comment.