Skip to content

Commit

Permalink
add: note for head request method.
Browse files Browse the repository at this point in the history
  • Loading branch information
ItzNotABug committed Jun 22, 2024
1 parent 512da2f commit 2c53413
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions middlewares/cors/cors.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ const configOptions = {
excludedPaths: [],
preflightContinue: false,
optionsSuccessStatus: 204,

/**
* `head` is not supported at the moment!
* @see: https://github.com/appwrite/appwrite/pull/8202
*
* TODO: Remove this jsdoc comment once the linked PR goes through!
*/
methods: ['get', 'head', 'put', 'patch', 'post', 'delete'],
};

Expand Down

0 comments on commit 2c53413

Please sign in to comment.