From 3891cf53b45bdb251c990112b1c435b1c4e8037a Mon Sep 17 00:00:00 2001 From: Elijah Date: Fri, 29 Nov 2019 09:29:40 +0800 Subject: [PATCH] DEC-11133 fix --- .../com/fr/plugin/db/redis/RedisConnectionComponent.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/fr/plugin/db/redis/RedisConnectionComponent.java b/src/main/java/com/fr/plugin/db/redis/RedisConnectionComponent.java index 4452ec9..a70aa84 100644 --- a/src/main/java/com/fr/plugin/db/redis/RedisConnectionComponent.java +++ b/src/main/java/com/fr/plugin/db/redis/RedisConnectionComponent.java @@ -2,6 +2,7 @@ package com.fr.plugin.db.redis; import com.fr.web.struct.Component; import com.fr.web.struct.browser.RequestClient; +import com.fr.web.struct.category.ParserType; import com.fr.web.struct.category.ScriptPath; import com.fr.web.struct.category.StylePath; @@ -9,11 +10,11 @@ public class RedisConnectionComponent extends Component { public static final RedisConnectionComponent KEY = new RedisConnectionComponent(); @Override public ScriptPath script(RequestClient req) { - return ScriptPath.build("com/fr/plugin/db/redis/web/redis.js"); + return ScriptPath.build("com/fr/plugin/db/redis/web/redis.js", ParserType.DYNAMIC); } @Override public StylePath style(RequestClient req) { - return StylePath.build("com/fr/plugin/db/redis/web/redis.css"); + return StylePath.build("com/fr/plugin/db/redis/web/redis.css", ParserType.DYNAMIC); } } \ No newline at end of file