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"] }),
|
||||
);
|
||||
|
||||
// Specify multiple origins
|
||||
app.use(
|
||||
csrf({ origin: ["https://example.com", "https://trusted.example.com"] }),
|
||||
);
|
||||
|
||||
// Use a function
|
||||
app.use(
|
||||
csrf({
|
||||
|
||||
Reference in New Issue
Block a user