Next: , Previous: , Up: Hello World   [Contents]

4.5 Regex in URL remapping

You can use regex in the URL rule.

(get "/.+\\.(png|gif|jpeg)" static-page-emitter)

static-page-emitter is an GNU Artanis API which emits a static file like images to the client.