@fab/plugin-add-fab-id
v1.1.1
Published
Adds a header (by default X-FAB-ID to outgoing requests)
Downloads
5
Readme
@fab/plugin-add-fab-id
Drop this into your fab.config.json5
to add X-FAB-ID
to outgoing requests:
{
plugins: {
// ...
'@fab/plugin-add-fab-id': {},
// ...
}
}
See https://fab.dev for more info.
Customisation
You can pass a header
argument to change which HTTP header is used:
{
plugins: {
// ...
'@fab/plugin-add-fab-id': {
header: 'X-SOMETHING-ELSE'
},
// ...
}
}
Note: our FAB ID actually changed when we set a new header for this plugin, since any change to a FAB results in a new FAB ID, one of FAB's production guarantees.