Open binchoo opened 3 years ago
챕터: #12
src/main/resources/application-oauth.properties
application-xxx.properties
파일 → xxx
프로파일 생성됨
∴ spring.profiles.include=xxx
처럼 선언하면 된다.
ex) application-oauth.properties
파일 → oauth
프로파일 생성됨
∴ spring.profiles.include=oauth
${도메인}/login/oauth2/code/${소셜 서비스 코드}
ex) 구글: http://localhost:8080/login/oauth2/code/google
챕터: #11
스태틱 파일들 경로와 URL 매핑
resources/static
아래에 스태틱 파일들을 몰아 넣어두면 오른편과 같이 URL 매핑이 정해진다.src/main/resources/static/js/..
:http://도메인/js/..
src/main/resources/static/css/..
:http://도메인/css/..
src/main/resources/static/image/..
:http://도메인/image/..