card007 4 лет назад
Родитель
Сommit
e8d64b04aa

+ 2 - 3
src/main/java/com/style24/front/support/interceptor/TsfDefaultInterceptor.java

@@ -11,12 +11,11 @@ import org.springframework.stereotype.Component;
 import org.springframework.web.servlet.ModelAndView;
 import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;
 
+import com.gagaframework.web.util.GagaStringUtil;
 import com.style24.front.support.security.session.TsfSession;
 
 import lombok.extern.slf4j.Slf4j;
 
-import com.gagaframework.web.util.GagaStringUtil;
-
 /**
  * 모든 Request에 대한 선처리
  * 
@@ -129,7 +128,7 @@ public class TsfDefaultInterceptor extends HandlerInterceptorAdapter {
 	private void setFrontGb(HttpServletRequest request) {
 		Device device = DeviceUtils.getCurrentDevice(request);
 
-		if (device == null) {
+		if (device == null || device.isNormal()) {
 			TsfSession.setAttribute("frontGb", "P");
 		} else {
 			log.info("TsfSession.isApp: {}", TsfSession.getAttribute("isApp"));