Skip to content

Commit

Permalink
chore: change origin with actual ui URL
Browse files Browse the repository at this point in the history
  • Loading branch information
jaypatel1210 committed Nov 24, 2024
1 parent 5024a47 commit 808dd4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion k8s-orchestrator/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const port = process.env.PORT || 4050;
const app = express();
app.use(
cors({
origin: 'http://localhost:5173', // TODO: Update the URL
origin: 'https://cloud-ide.jaypatel.digital',
credentials: true,
})
);
Expand Down
2 changes: 1 addition & 1 deletion server/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const port = process.env.PORT || 4000;
const app = express();
app.use(
cors({
origin: 'http://localhost:5173', // TODO: change with actual frontend URL
origin: 'https://cloud-ide.jaypatel.digital',
credentials: true,
})
);
Expand Down

0 comments on commit 808dd4a

Please sign in to comment.