fixed backend imports
This commit is contained in:
@ -22,7 +22,6 @@ const app = express();
|
||||
|
||||
//setup cors
|
||||
const corsOptions = {
|
||||
// origin: `https://localhost:3000`,
|
||||
origin: `https://${clientsideConfig.url}:${clientsideConfig.port}`,
|
||||
headers: 'authorization, content-type',
|
||||
methods: 'GET,HEAD,PUT,PATCH,POST,DELETE',
|
||||
|
||||
Reference in New Issue
Block a user