Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
EchoSkorJjj committed Nov 4, 2023
1 parent 2649571 commit 50cf137
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const mongoString = process.env.DATABASE_URL

app.use(cors(
{
origin: ['http://localhost:5173', "https://homomorphic-client-1b6da9f7f22d.herokuapp.com/"],
origin: ['http://localhost:5173', "https://homomorphic-client-1b6da9f7f22d.herokuapp.com/", "https://homomorphic-client-1b6da9f7f22d.herokuapp.com"],
}
));
app.use(express.urlencoded({ extended: true }));
Expand Down

0 comments on commit 50cf137

Please sign in to comment.