Skip to content

Commit

Permalink
chore: local 설정 파일 분리 (#2)
Browse files Browse the repository at this point in the history
* chore: local 설정 파일 서브모듈로 분리

* feat: 로그인 API 인터셉터 규칙에서 제외
  • Loading branch information
gitchannn authored Nov 1, 2023
1 parent d06ae4e commit 0b46fcb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ public void addInterceptors(final InterceptorRegistry registry) {
registry.addInterceptor(userAuthInterceptor)
.excludePathPatterns(
"/admin/**",
"/test/**"
"/test/**",
"/api/login/**"
);
}

Expand Down
27 changes: 2 additions & 25 deletions server/src/main/resources/application-local.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,4 @@
spring:
config:
activate:
on-profile: test
flyway:
enabled: true
baseline-on-migrate: true
datasource:
url: jdbc:mysql://127.0.0.1:3306/sallange
username: root
password:
driver-class-name: com.mysql.cj.jdbc.Driver
jpa:
database-platform: org.hibernate.dialect.MySQLDialect
hibernate:
ddl-auto: validate
properties:
hibernate:
show_sql: true
format_sql: true
use_sql_comments: true
jdbc:
batch_size: 10
datasource:
driver-class-name: org.h2.Driver
url: jdbc:h2:mem:test;Mode=MySql

import:
- security/application-local.yml

0 comments on commit 0b46fcb

Please sign in to comment.