diff options
author | 2023-08-28 18:30:29 +0900 | |
---|---|---|
committer | 2023-08-28 09:30:29 +0000 | |
commit | aa9d746180b8d5a96307ae311d5a7adeee73feaa (patch) | |
tree | 0aa6c13709d009e766434ef9cbcc0840d3e4c60e /source/features/toggle-files-button.tsx | |
parent | 2fb92175fd25c3a4cf702aaf39e7ccaef9c86679 (diff) | |
download | refined-github-aa9d746180b8d5a96307ae311d5a7adeee73feaa.tar.gz refined-github-aa9d746180b8d5a96307ae311d5a7adeee73feaa.tar.zst refined-github-aa9d746180b8d5a96307ae311d5a7adeee73feaa.zip |
Enable `useful-not-found-page` on the new "404 file" page (#6840)
Co-authored-by: Federico Brigante <me@fregante.com>
Diffstat (limited to 'source/features/toggle-files-button.tsx')
-rw-r--r-- | source/features/toggle-files-button.tsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/features/toggle-files-button.tsx b/source/features/toggle-files-button.tsx index 947bac75..40c8ee39 100644 --- a/source/features/toggle-files-button.tsx +++ b/source/features/toggle-files-button.tsx @@ -87,6 +87,9 @@ void features.add(import.meta.url, { include: [ pageDetect.isRepoTree, ], + exclude: [ + pageDetect.isRepoFile404, + ], init, }); |