Closed Sokhavuth closed 6 months ago
This sounds like a webserver configuration issue, not a flightphp issue.
Yes, this is a webserver issue, not a framework issue. Flight wasn't meant to handle service static content because webservers do this in a way more efficient way.
Static files are not loaded while using route with parameter. In Node.js and in Python, every framework gives us the options to choose folder for "views" and static files such as css, js, and image files. In those frameworks, the default folders for views and static files are "views" and "public". And without static files, there won't be template.