SiteFileController
struct SiteFileController : SiteControllerUtilsServes static files used bye the Web UI front end. Since these files are UI-level and not API-level entities, we serve these files directly from here–there’s no need to forward calls through the API. This means if you’re an API client, you shouldn’t be using the files served from these endpoints.
Files dynamically created currently require a restart to pick up.
- 
                  
                  DeclarationSwift func registerRoutes(_ app: Application) throws
- 
                  
                  DeclarationSwift func streamCSSFile(_ req: Request) throws -> Response
- 
                  
                  DeclarationSwift func streamImgFile(_ req: Request) throws -> Response
- 
                  
                  DeclarationSwift func streamJSFile(_ req: Request) throws -> Response
- 
                  
                  DeclarationSwift func streamMKFile(_ req: Request) throws -> Response
- 
                  
                  DeclarationSwift func streamPublicFile(_ req: Request) throws -> Response
- 
                  
                  DeclarationSwift func streamFaqFile(_ req: Request) throws -> Response
- 
                  
                  DeclarationSwift func streamFile(_ req: Request, basePath: String) throws -> Response
 View on GitHub
            View on GitHub
           SiteFileController Structure Reference
      SiteFileController Structure Reference