From b789d547dbd677cc90c9666eec04924075d556f9 Mon Sep 17 00:00:00 2001 From: CodeDevMLH <145071728+CodeDevMLH@users.noreply.github.com> Date: Thu, 25 Sep 2025 23:06:15 +0200 Subject: [PATCH] adapted to regex --- config-Example.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config-Example.yaml b/config-Example.yaml index 10f3746..ab2b7fe 100644 --- a/config-Example.yaml +++ b/config-Example.yaml @@ -35,7 +35,7 @@ copy_rules: # modification rules modification_rules: # modify login page, insert own logo - - file_pattern: 'session-login-index-html..*.chunk.js' + - file_pattern: 'session-login-index-html\.[0-9a-z]+\.chunk\.js$' insert_rules: - after_text: '
'
@@ -48,7 +48,7 @@ modification_rules:
insert_text: ''
# Page title and requests tab
- - before_text: ''
+ - before_text: 're:' # using regex to match the hash
# replace 'Your Title' with your own title (first row) and 'Request' with your own request tab name (second row)
insert_text: >
@@ -73,12 +73,12 @@ modification_rules:
- - file_pattern: 'home-html..*.chunk.js'
+ - file_pattern: 'home-html\.[0-9a-z]+\.chunk\.js$'
insert_rules:
# featured iframe and requests iframe style from https://github.com/CodeDevMLH/Jellyfin-Featured-Content-Bar
- after_text: 'data-backdroptype="movie,series,book">'
insert_text: >
-
+
# request tab on main page