Skip to content

Commit

Permalink
Added comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dukefirehawk committed Nov 13, 2023
1 parent 85a5c45 commit 94d1c5a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/production/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,12 @@ For example, the following code snippet removes `X-FRAME-OPTIONS` and adds `X-XS
```dart
void main(List<String> args) {
// Remove default
// Remove 'X-FRAME-OPTIONS'
var removeHeader = {'X-FRAME-OPTIONS': 'SAMEORIGIN'};
// Add 'X-XSRF_TOKEN'
var customHeader = {
'X-XSRF_TOKEN':
'X-XSRF-TOKEN':
'a591a6d40bf420404a011733cfb7b190d62c65bf0bcda32b57b277d9ad9f146e'
};
Expand Down

0 comments on commit 94d1c5a

Please sign in to comment.