Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
TatianaS7 committed Jan 8, 2024
1 parent 44e4189 commit d91d713
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion public/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ body {
display: flex;
justify-content: center;
gap: 5px;
margin-top: 20px;
margin: 20px 20px 0 20px;
}

#search-input {
Expand Down
4 changes: 2 additions & 2 deletions server/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const cors = require("cors");

const app = express();

app.use(cors({ origin: '*' }));
app.use(cors({ origin: 'https://chuck-stewart-archive.web.app/' }));

const dbUrl = process.env.JAWSDB_URL;
const params = url.parse(dbUrl);
Expand Down Expand Up @@ -135,7 +135,7 @@ app.put("/api/database/update/:id", async (req, res) => {


// Start the server
const PORT = process.env.DB_PORT || 5501;
const PORT = process.env.DB_PORT || 3000;
app.listen(PORT, () => {
console.log(`Server is running on port ${PORT}`);
});
Expand Down

0 comments on commit d91d713

Please sign in to comment.