docs: remove duplicate example lines in csrf.md (#3278)
(thanks team! following along and alpha testing.)
This commit is contained in:
@@ -28,11 +28,6 @@ app.use(
|
|||||||
csrf({ origin: ["https://example.com", "https://trusted.example.com"] }),
|
csrf({ origin: ["https://example.com", "https://trusted.example.com"] }),
|
||||||
);
|
);
|
||||||
|
|
||||||
// Specify multiple origins
|
|
||||||
app.use(
|
|
||||||
csrf({ origin: ["https://example.com", "https://trusted.example.com"] }),
|
|
||||||
);
|
|
||||||
|
|
||||||
// Use a function
|
// Use a function
|
||||||
app.use(
|
app.use(
|
||||||
csrf({
|
csrf({
|
||||||
|
|||||||
Reference in New Issue
Block a user