mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 05:25:40 +09:00
fix(constants): add captcha, cache and feature headers (#2342)
This commit is contained in:
1 parent
bcd95b2af9
commit
0f7ad484ce
2 files changed
+9
-1
No files matched your search
@@ -1,8 +1,9 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
import {Permissions} from '@fluxer/constants/src/ChannelConstants';
|
||||
import {Headers} from '@fluxer/constants/src/Headers';
|
||||
|
||||
export const CLIENT_FEATURES_HEADER = 'X-Fluxer-Features';
|
||||
export const CLIENT_FEATURES_HEADER = Headers.X_FLUXER_FEATURES;
|
||||
const PERMISSION_BIT_CLIENT_FEATURES: ReadonlyArray<{
|
||||
bit: bigint;
|
||||
feature: string;
|
||||
|
||||
Reference in new issue
Block a user