Filter chat messages by allowed servers defined in application.properties.

This commit is contained in:
2026-07-19 01:24:50 +02:00
parent 0233958118
commit 7a360d1a26
2 changed files with 5 additions and 0 deletions
@@ -19,6 +19,7 @@ spring.mail.properties.mail.smtp.auth=true
spring.mail.properties.mail.smtp.ssl.enable=true
spring.mail.properties.mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory
chat.allowed-ip=${ALLOWED_IP:10.0.0.0/24}
chat.allowed-servers=${ALLOWED_SERVERS:bayou,lobby,creative}
management.endpoints.web.exposure.include=mappings
server.forward-headers-strategy=native
server.tomcat.remoteip.remote-ip-header=CF-Connecting-IP