contentSecurityPolicy에 추가
https://apis.google.com https://content.googleapis.com https://accounts.google.com
routes에 + nocsrf
나중에 csrf 적용
index.scala.html에 추가
<script async defer src="https://apis.google.com/js/api.js"
onload="this.onload=function(){}"
onreadystatechange="if (this.readyState === 'complete') this.onload()"></script>
google console에서
play app host 추가
'코딩 > Play' 카테고리의 다른 글
akka application.conf 설정과 빌드 후 play 엡에서 jar 파일을 쓸때 (0) | 2018.07.26 |
---|---|
heroku에 play 앱 빌드하여 배포할 때 주의 사항 (0) | 2018.07.25 |
play에서 환경 마다 다른 conf 파일 쓰기 (0) | 2018.07.25 |
ajax 호출 시 Access-Control-Allow-Origin과 cookie (0) | 2018.07.23 |
Play - strict-origin-when-cross-origin (0) | 2018.07.05 |