在我的index.html 页面中,脚本中的变量是硬编码的。我想从 application.properties 文件中获取它,但不知道如何获取。如果有人能为我提供解决方案,那将会很有帮助。
html javascript properties-file spring-boot
html ×1
javascript ×1
properties-file ×1
spring-boot ×1