1.1.1 • Published 5 years ago
@fab/plugin-add-fab-id v1.1.1
@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.