From b8c0a83a87eb108e8dfe02fd08c234087f166f04 Mon Sep 17 00:00:00 2001 From: Jeff Halter <868228+jhalter@users.noreply.github.com> Date: Sat, 25 Jun 2022 20:51:16 -0700 Subject: Add config option to specify ignored filename patterns --- cmd/mobius-hotline-server/mobius/config/config.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'cmd') 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 -- cgit