mirror of
https://github.com/HangarMC/Hangar.git
synced 2024-11-21 01:21:54 +08:00
chore: make spring start a bit faster
This commit is contained in:
parent
ea6d7fae7d
commit
1c17b96e34
4
.github/workflows/deploy.yml
vendored
4
.github/workflows/deploy.yml
vendored
@ -97,7 +97,7 @@ jobs:
|
||||
|
||||
- name: Lint frontend
|
||||
env:
|
||||
DEBUG: "hangar:*"
|
||||
# DEBUG: "hangar:*"
|
||||
run: (cd frontend && pnpm lint:oxlint && pnpm lint:eslint)
|
||||
|
||||
- name: Sync forth and back with crowdin
|
||||
@ -118,7 +118,7 @@ jobs:
|
||||
# keep these in sync with compose!
|
||||
BACKEND_HOST: "http://hangar_backend:8080"
|
||||
PUBLIC_HOST: "https://hangar.papermc.dev"
|
||||
DEBUG: "hangar:*"
|
||||
# DEBUG: "hangar:*"
|
||||
NODE_ENV: "production"
|
||||
run: (cd frontend && pnpm build)
|
||||
|
||||
|
@ -397,6 +397,7 @@
|
||||
<groupId>org.openapitools</groupId>
|
||||
<artifactId>openapi-generator-cli</artifactId>
|
||||
<version>${openapi-generator.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
|
@ -40,6 +40,8 @@ spring:
|
||||
kubernetes:
|
||||
secrets:
|
||||
enableApi: true
|
||||
jmx:
|
||||
enabled: false
|
||||
|
||||
# Enable this if you want to regenerate the frontend types
|
||||
#springdoc:
|
||||
@ -47,10 +49,13 @@ spring:
|
||||
|
||||
management:
|
||||
endpoints:
|
||||
enabled-by-default: true
|
||||
enabled-by-default: false
|
||||
web:
|
||||
exposure:
|
||||
include: "*"
|
||||
endpoint:
|
||||
health:
|
||||
enabled: true
|
||||
|
||||
hangar:
|
||||
dev: true
|
||||
|
@ -12,6 +12,9 @@ spring:
|
||||
- classpath:db/migration
|
||||
baseline-version: 0.0
|
||||
|
||||
springdoc:
|
||||
use-fqn: false
|
||||
|
||||
hangar:
|
||||
disable-ratelimiting: true
|
||||
storage:
|
||||
|
Loading…
Reference in New Issue
Block a user