2017-05-15 1 views
0

Grails 콘솔 플러그인 페이지가 실행되지 않습니다. 실행 환경에서 애플리케이션을 실행하거나 포함 된 바람둥이에 배포 된 war 파일로 애플리케이션을 실행할 때만 UI에서 렌더링 된 내용이 없습니다. .Grails 3 : 콘솔 플러그인이 프로덕션 모드로 돌아 가지 않음

Grails의 버전 - 3.2.4

build.gradle은 다음과 같습니다

buildscript { 
    repositories { 
     mavenLocal() 
     maven { url "https://repo.grails.org/grails/core" } 
     maven { url "https://plugins.gradle.org/m2/" } 

    } 
    dependencies { 
     .... 
     classpath "com.bertramlabs.plugins:asset-pipeline-gradle:2.13.1" 
     ... 
    } 
} 

version "0.1" 

apply plugin: "asset-pipeline" 

repositories { 
    mavenLocal() 
    maven { url "https://repo.grails.org/grails/core" } 
    maven { url "http://repo1.maven.org/maven2" } 
} 


dependencies { 
    .... 
    runtime 'org.grails.plugins:grails-console:2.0.9' 
    runtime "com.bertramlabs.plugins:asset-pipeline-grails:2.13.1" 
    .... 
} 

어떤 생각을 여기에 잘못가는 뭐죠?

답변

0

기본적으로 플러그인은 공격자가 앱에 무엇이든 할 수있는 분명한 이유 때문에 프로덕션 환경에서 사용하지 않도록 설정되어 있습니다. 그러나 위험을 이해하고 보안을 유지하면 플러그인을 다시 사용할 수 있습니다. 여기에서 문서를 확인하십시오. https://github.com/sheehan/grails-console#security

관련 문제