Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spring-boot-starter-webflux doesnt serve index.html by default #13157

Closed
gitorko opened this issue May 14, 2018 · 2 comments
Closed

spring-boot-starter-webflux doesnt serve index.html by default #13157

gitorko opened this issue May 14, 2018 · 2 comments
Labels
status: duplicate A duplicate of another issue

Comments

@gitorko
Copy link

gitorko commented May 14, 2018

org.springframework.boot
spring-boot-starter-parent
2.0.1.RELEASE

org.springframework.boot spring-boot-starter-webflux

After index.html is placed in resources/static folder the default page that gets loaded throws 404 error.
http://localhost:8080/ - throws 404
http://localhost:8080/index.html - works.

If you replace with spring-boot-starter-web the default page that gets served index.html works fine.
http://localhost:8080/ - works.
http://localhost:8080/index.html - works.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label May 14, 2018
@gitorko
Copy link
Author

gitorko commented May 14, 2018

Duplicate of
#9785

@gitorko gitorko closed this as completed May 14, 2018
@wilkinsona
Copy link
Member

wilkinsona commented May 14, 2018

For anyone finding this issue, it doesn't work because there is no welcome page support with WebFlux at the time of writing. That enhancement is being tracked by #9785.

@wilkinsona wilkinsona added status: duplicate A duplicate of another issue and removed status: waiting-for-triage An issue we've not yet triaged labels May 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: duplicate A duplicate of another issue
Projects
None yet
Development

No branches or pull requests

3 participants