aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorKevin J Hoerr <kjhoerr@protonmail.com>2021-10-07 16:47:35 +0000
committerKevin J Hoerr <kjhoerr@protonmail.com>2021-10-07 16:47:35 +0000
commite3f21afa451f8c8cb5743cd08fe3c3450ff5a75b (patch)
treeb4c426593d468bcf73c9dbfa904d6879191e88eb /src/util
parent54e479f0db78ed3bfc0be94e9d7ecdb8c00ca187 (diff)
downloadao-coverage-e3f21afa451f8c8cb5743cd08fe3c3450ff5a75b.tar.gz
ao-coverage-e3f21afa451f8c8cb5743cd08fe3c3450ff5a75b.tar.bz2
ao-coverage-e3f21afa451f8c8cb5743cd08fe3c3450ff5a75b.zip
Use *.tmpl file extension over *.template
Diffstat (limited to 'src/util')
-rw-r--r--src/util/config.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/config.ts b/src/util/config.ts
index b98444c..c8639fb 100644
--- a/src/util/config.ts
+++ b/src/util/config.ts
@@ -79,12 +79,12 @@ export const handleStartup = async (
);
await persistTemplate({
- inputFile: path.join(publicDir, "templates", "sh.template"),
+ inputFile: path.join(publicDir, "templates", "sh.tmpl"),
outputFile: path.join(hostDir, "sh"),
context: { TARGET_URL: targetUrl },
} as Template);
await persistTemplate({
- inputFile: path.join(publicDir, "templates", "index.html.template"),
+ inputFile: path.join(publicDir, "templates", "index.html.tmpl"),
outputFile: path.join(hostDir, "index.html"),
context: {
TARGET_URL: targetUrl,