File

tools/mod2spec.sh @ 13249:5884d58707fa

mod_http: Generate URL from configuration in prosodyctl This removes the need to configure e.g. http_external_url or similar settings in order to get correct URLs out of prosodyctl, as the API depends on portmanager to know the actual ports that are used.
author Kim Alvefur <zash@zash.se>
date Wed, 26 Jul 2023 14:39:36 +0200
parent 13200:150e3bbec1bd
child 13255:df96af198222
line wrap: on
line source

#!/bin/sh
set -eu

echo "spec/${1//./_}_spec.lua"