aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorJeff Halter <868228+jhalter@users.noreply.github.com>2022-06-25 20:51:16 -0700
committerJeff Halter <868228+jhalter@users.noreply.github.com>2022-06-25 20:51:16 -0700
commitb8c0a83a87eb108e8dfe02fd08c234087f166f04 (patch)
treecb8285cab4a7aeaf2da662804e4a2a945b4d0ff0 /cmd
parent264b7c27c7a46e2d0eb699812c8e38cf771fcf00 (diff)
Add config option to specify ignored filename patterns
Diffstat (limited to 'cmd')
-rw-r--r--cmd/mobius-hotline-server/mobius/config/config.yaml9
1 files changed, 7 insertions, 2 deletions
diff --git a/cmd/mobius-hotline-server/mobius/config/config.yaml b/cmd/mobius-hotline-server/mobius/config/config.yaml
index a903023..3ca8121 100644
--- a/cmd/mobius-hotline-server/mobius/config/config.yaml
+++ b/cmd/mobius-hotline-server/mobius/config/config.yaml
@@ -19,8 +19,8 @@ EnableTrackerRegistration: false
# List of trackers to register with
Trackers:
-- hltracker.com:5499
-- tracker.preterhuman.net:5499
+ - hltracker.com:5499
+ - tracker.preterhuman.net:5499
# Preserve resource forks and file type/creator codes for files uploaded by Macintosh clients.
# This comes with trade-offs. For more details, see:
@@ -42,3 +42,8 @@ MaxDownloadsPerClient: 0
# Maximum simultaneous connections/IP; currently unimplemented
MaxConnectionsPerIP: 0
+
+# List of Regular Expression filters for the Files list
+IgnoreFiles:
+ - '^\.*' # Ignore all files starting with ".". Leave this set if you are using the PreserveResourceForks option.
+ - '^@' # Ignore all files starting with "@" \ No newline at end of file