Skip to content

Commit 2bac264

Browse files
committed
fix(sdk): support gifs in welcome popups
1 parent 34301bb commit 2bac264

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runner/src/main/java/com/codingame/gameengine/runner/ConfigHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
class ConfigHelper {
3131
private static final Pattern STATEMENT_FILE_PATTERN = Pattern.compile("statement_(?<language>.*?)\\.html?");
3232
private static final Pattern WELCOME_FILE_PATTERN = Pattern.compile("welcome_(?<language>.*?)\\.html?");
33-
private static final Pattern WELCOME_IMG_PATTERN = Pattern.compile(".*\\.(png|jpe?g)");
33+
private static final Pattern WELCOME_IMG_PATTERN = Pattern.compile(".*\\.(png|jpe?g|gif)");
3434
private static final Pattern BOSS_FILE_PATTERN = Pattern.compile("Boss\\.(?<extension>.*)");
3535
private static final Pattern LEVEL_DIR_PATTERN = Pattern.compile("level(?<level>\\d+)");
3636
private static final Pattern TEST_FILE_PATTERN = Pattern.compile("test(?<num>\\d+)\\.(?:json|yaml)");

0 commit comments

Comments
 (0)