mirror of
https://github.com/tencentmusic/supersonic.git
synced 2026-04-28 03:14:18 +08:00
(improvement)(semantic) Change 'semantic' to 'headless' (#555)
This commit is contained in:
27
launchers/headless/src/main/resources/application-local.yaml
Normal file
27
launchers/headless/src/main/resources/application-local.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
server:
|
||||
servlet:
|
||||
context-path:
|
||||
port: 9081
|
||||
|
||||
spring:
|
||||
h2:
|
||||
console:
|
||||
path: /h2-console/semantic
|
||||
# enabled web
|
||||
enabled: true
|
||||
datasource:
|
||||
driver-class-name: org.h2.Driver
|
||||
url: jdbc:h2:mem:semantic;DATABASE_TO_UPPER=false
|
||||
username: root
|
||||
password: semantic
|
||||
schema: classpath:db/semantic-schema-h2.sql
|
||||
data: classpath:db/semantic-data-h2.sql
|
||||
|
||||
authentication:
|
||||
enable: true
|
||||
exclude:
|
||||
path: /api/auth/user/register,/api/auth/user/login
|
||||
token:
|
||||
http:
|
||||
header:
|
||||
key: Authorization
|
||||
Reference in New Issue
Block a user