Mercurial > prosody-modules
view mod_http_dir_listing2/resources/template.html @ 4888:dc7c9ae15f43
mod_rest: Ensure mod_http is loaded before API demo
Fixes an error as it tried to use module:http_url() which doesn't exist
before mod_http is loaded
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 08 Feb 2022 13:51:41 +0100 |
parents | c91c9b87929e |
children |
line wrap: on
line source
<html> <head> <title>Index of {path}</title> <meta charset="utf-8"/> <style>{style}</style> </head> <body> <h1>Index of {path}</h1> <ul class="filelist">{filelist# <li class="{item.class}"><a href="{item.href}"{item.rel& rel="{item.rel}"}>{item.text}</a></li>} </ul> <footer>{footer}</footer> </body> </html>