{"action":"closed","issue":{"url":"https://api.github.com/repos/hapijs/hapi/issues/2830","labels_url":"https://api.github.com/repos/hapijs/hapi/issues/2830/labels{/name}","comments_url":"https://api.github.com/repos/hapijs/hapi/issues/2830/comments","events_url":"https://api.github.com/repos/hapijs/hapi/issues/2830/events","html_url":"https://github.com/hapijs/hapi/issues/2830","id":109968102,"number":2830,"title":"How to match all files with a specific extension?","user":{"login":"santo74","id":7080464,"avatar_url":"https://avatars.githubusercontent.com/u/7080464?v=3","gravatar_id":"","url":"https://api.github.com/users/santo74","html_url":"https://github.com/santo74","followers_url":"https://api.github.com/users/santo74/followers","following_url":"https://api.github.com/users/santo74/following{/other_user}","gists_url":"https://api.github.com/users/santo74/gists{/gist_id}","starred_url":"https://api.github.com/users/santo74/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/santo74/subscriptions","organizations_url":"https://api.github.com/users/santo74/orgs","repos_url":"https://api.github.com/users/santo74/repos","events_url":"https://api.github.com/users/santo74/events{/privacy}","received_events_url":"https://api.github.com/users/santo74/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hapijs/hapi/labels/question","name":"question","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-10-06T09:24:17Z","updated_at":"2015-10-09T07:06:19Z","closed_at":"2015-10-09T07:06:19Z","body":"Hi,\r\nI'm new to hapi and I'm trying to find a way to set up a route that matches all files of a given extension, including subfolders.\r\n\r\nThis is what I tried already:\r\n```javascript\r\npath: '/{filename}.ext'\r\n```\r\nWorks, but only matches files in the root folder\r\n```javascript\r\npath: '/{filename*}.ext'\r\n```\r\nDoesn't appear to be a valid path (wildcard parameter can only be used as last parameter)\r\n\r\nSo I have no clue how to do this in hapi."}}