Added cors
This commit is contained in:
parent
51ce615f1d
commit
e932e8760a
@ -7,7 +7,7 @@ const cookieParser = require("cookie-parser");
|
||||
const app = express();
|
||||
const PORT = 3000;
|
||||
|
||||
//app.use(cors({ origin: "https://schiri.marc-wieland.de", credentials: true }));
|
||||
app.use(cors({ origin: "https://schiri.marc-wieland.de", credentials: true }));
|
||||
app.use(cookieParser());
|
||||
app.use(express.json());
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user