Merge branch 'main' into assignment
This commit is contained in:
commit
f4aedf1705
1 changed files with 2 additions and 0 deletions
|
|
@ -11,6 +11,8 @@ const app = express();
|
||||||
app.use(express.json());
|
app.use(express.json());
|
||||||
app.use(express.urlencoded({ extended: true }));
|
app.use(express.urlencoded({ extended: true }));
|
||||||
|
|
||||||
|
// Allow all origins (not recommended for production)
|
||||||
|
app.use(cors());
|
||||||
|
|
||||||
// app.use(
|
// app.use(
|
||||||
// session({
|
// session({
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue