mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-10 17:28:07 -06:00
[feature] request blocking by http headers (#2409)
This commit is contained in:
parent
07bd848028
commit
8ebb7775a3
36 changed files with 2561 additions and 81 deletions
|
|
@ -67,6 +67,7 @@ type DBService struct {
|
|||
db.Basic
|
||||
db.Domain
|
||||
db.Emoji
|
||||
db.HeaderFilter
|
||||
db.Instance
|
||||
db.List
|
||||
db.Marker
|
||||
|
|
@ -193,6 +194,10 @@ func NewBunDBService(ctx context.Context, state *state.State) (db.DB, error) {
|
|||
db: db,
|
||||
state: state,
|
||||
},
|
||||
HeaderFilter: &headerFilterDB{
|
||||
db: db,
|
||||
state: state,
|
||||
},
|
||||
Instance: &instanceDB{
|
||||
db: db,
|
||||
state: state,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue