Closed rollno748 closed 10 months ago
Hi, on which url are you trying to access static files?
With this staticFiles.location("/public");
I think it should be "http://localhost:4567/script.js". I´m using static files in my project, maybe it will help you https://github.com/kamenitxan/Jakon/blob/master/modules/backend/src/main/scala/cz/kamenitxan/jakon/JakonInit.scala
Hi,
I am able to access it using root path (http://localhost:2222/index.html or http://localhost:2222/)
The issue was due to an groovy dependency library which was added by mistake.
I apologise, i failed to update it here
Hi,
My project structure looks like the below:
And I have the below code - which is configured to serve static web page within the package (src/main/resources/public)
Which is not working and i don't see any exception in the logs as well
I have API path configured below
I am stuck with this - could someone help me to proceed further ? I have posted the query in stackoverflow as well, didn't get any response