diff --git a/resources/scripts/components/server/files/FileEditContainer.tsx b/resources/scripts/components/server/files/FileEditContainer.tsx index afb1fa00c..f314744ef 100644 --- a/resources/scripts/components/server/files/FileEditContainer.tsx +++ b/resources/scripts/components/server/files/FileEditContainer.tsx @@ -83,6 +83,17 @@ export default () => { + {(name || hash.replace(/^#/, '')).endsWith('.pteroignore') && +
+

+ You're editing a .pteroignore file. + Any files or directories listed in here will be excluded from backups. Wildcards are supported by + using an asterisk (*). You can + negate a prior rule by prepending an exclamation point + (!). +

+
+ } setModalVisible(false)}