fix: 后端取消网址hardcode

This commit is contained in:
Tim
2025-08-13 14:02:32 +08:00
parent dfef13e2be
commit 47a9ce5843
5 changed files with 5 additions and 5 deletions

View File

@@ -22,7 +22,7 @@ import java.util.List;
public class SitemapController {
private final PostRepository postRepository;
@Value("${app.website-url:https://www.open-isle.com}")
@Value("${app.website-url}")
private String websiteUrl;
@GetMapping(value = "/sitemap.xml", produces = MediaType.APPLICATION_XML_VALUE)