()
| 10 | * @return {Router} Express router |
| 11 | */ |
| 12 | export default function capabilityDiscovery () { |
| 13 | const router = express.Router('/') |
| 14 | |
| 15 | // Advertise the server capability discover endpoint |
| 16 | router.get('/.well-known/solid', serviceCapabilityDocument()) |
| 17 | return router |
| 18 | } |
| 19 | |
| 20 | /** |
| 21 | * Serves the service capability document (containing server root URL, including |
no test coverage detected