使用Spring + Spring Boot + STS时,Spring项目目录中的localhost "home"文件夹在哪里?

When using Spring + Spring Boot + STS, where in the Spring Project directory is the localhost "home" folder?

我正在使用 Spring/Spring Boot/and Ember。我想将我的 index.html 文件放在 "localhost" 主文件夹中,但我不知道 Spring 工具套件如何部署 Spring Boot。 HTML 开发和访问 Spring REST 服务器而不会出现跨站点脚本错误的正常过程是什么?

我的文件夹结构如下:

/.settings
/BookingClient
/gradle
/html  (this is where my index.html, css, and all Ember related JS stuff is)
/node_modules
/src
/target

我猜它在 /target 目录中的某处,但我尝试过的都没有用。

Spring Boot 将为您提供静态资源。只需将它们放在 src/main/resources/static 中。有关详细信息,请参阅 documentation on static content