YarpResource.withStaticFiles
Method
interface YarpResource { // ... omitted for brevity withStaticFiles(sourcePath?: string): YarpResource;}Signature
method
withStaticFilesbuilderEnables static file serving in the YARP resource.
withStaticFiles(sourcePath?: string): YarpResourceParameters
sourcePathstringoptionalReturns
YarpResourceDefined on
This method is defined on the following type: