fix: application-local.yml template simplified to match axhub-tool-sms format

This commit is contained in:
jade
2026-07-13 17:21:27 +09:00
parent f87b547911
commit 4d5832c0ef

View File

@@ -120,18 +120,9 @@ public class PodScaffolder {
Files.createDirectories(resPath);
String applicationYml = """
spring:
application:
name: %s
config:
import: "classpath:config/application-glow-local.yml"
server:
port: %s
axhub:
tool:
url: "http://%s:%s"
""".formatted(moduleName, portStr, moduleName.replace("axhub-backend-main-", "").replace("axhub-", ""), portStr);
""";
Files.writeString(resPath.resolve("application-local.yml"), applicationYml);
String applicationProperties = """