Open Amilcar34 opened 2 months ago
Why can you not get quarkus to serve static files ? It should work like described in the documentation. What error do you get ?
Hi phillip, I don't see the content that should be there
Please can you share a reproducer app ?
Hi Phillip
https://github.com/Amilcar34/tu-emisora
Project In Java: 17 Maven: 3.9.3
Inizialize whit mvn eclipse:eclipse clean install quarkus:dev
Ok so this is working for me. You have a lot of places where you have an index.html. The one that works is in /static
(on the same level as src). That is how it's intended to work. Why are you saying it's not working ?
In principle, I thank you very much for the follow-up you are giving me.
To enter http://localhost:8080/ I don't see the index.html file as it looks like this:
https://repo1.maven.org/maven2/zw/co/paynow/java-sdk/1.1.1/
I see white screen:
That is because your index.html is empty. But it returns fine (200 OK). Try adding some html markup to the file
So you want to have a directory listing rather than the rendered html. I am not sure how this can be done. @cescoffier can this be done with vertx-http extension ?
Sorry for insisting but any help?
I read this post
https://quarkus.io/guides/http-reference#from-a-local-directory
but I can't get my app to have this behavior
https://repo1.maven.org/maven2/
¿Is it possible for quarkus to have a navigation as an nginx server in static folder?