serveStatic method
Configures static file serving from a given path.
Example:
serverStatic.serveStatic('public');
Implementation
void serveStatic(String path) {
_staticHandler = ServerStaticHandler(path);
}
Configures static file serving from a given path.
Example:
serverStatic.serveStatic('public');
void serveStatic(String path) {
_staticHandler = ServerStaticHandler(path);
}