cors
This commit is contained in:
parent
f2b3609125
commit
37b104efd8
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ pool.connect()
|
||||||
|
|
||||||
// Middleware
|
// Middleware
|
||||||
app.use(cors({
|
app.use(cors({
|
||||||
origin: 'https://rocks.2many.ca',
|
origin: '*',
|
||||||
credentials: true
|
credentials: true
|
||||||
}));
|
}));
|
||||||
app.use(express.json());
|
app.use(express.json());
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue