Skip to content

Commit

Permalink
filter_apps in config
Browse files Browse the repository at this point in the history
  • Loading branch information
1aerostorm committed Jun 14, 2024
1 parent d8b2a18 commit 5579866
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/MainApp.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const initialState = {
...appConfig,
blocked_users: [],
blocked_posts: [],
filter_apps: [],
add_notify_site: {}
},
flash: {
Expand Down
2 changes: 1 addition & 1 deletion app/utils/ContentAccess.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function hasLS() {
}

export const getFilterApps = () => {
return ['freedom.blog']
return $STM_Config.filter_apps
}

export function loadNsfwSettings(username) {
Expand Down
3 changes: 3 additions & 0 deletions config/blacklist.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,8 @@
"/ru--kino/@nichosee/devushka-podayushaya-nadezhdy-promising-young-woman",
"/ru--kino/@huckster/kosmicheskii-styob-pank-serial-2021-kovboi-bibop",
"/ru--kino/@id-svetpro/nebo-2021"
],
"filter_apps": [
"freedom.blog"
]
}

0 comments on commit 5579866

Please sign in to comment.