diff options
| author | Kevin J Hoerr <kjhoerr@protonmail.com> | 2020-04-27 19:26:39 -0400 |
|---|---|---|
| committer | Kevin J Hoerr <kjhoerr@protonmail.com> | 2020-04-27 19:26:39 -0400 |
| commit | a836f1de4c27222a607b28353671bca59e8c8e30 (patch) | |
| tree | b5f2708ea14ba59904aa44780450fba330949888 | |
| parent | 6de9107d3d5a6b266b2dad91cd7e29896c3af971 (diff) | |
| download | ao-coverage-a836f1de4c27222a607b28353671bca59e8c8e30.tar.gz ao-coverage-a836f1de4c27222a607b28353671bca59e8c8e30.tar.bz2 ao-coverage-a836f1de4c27222a607b28353671bca59e8c8e30.zip | |
Fix templates not properly injecting context
| -rw-r--r-- | src/util/config.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/config.ts b/src/util/config.ts index 3eb8d1c..3f14db1 100644 --- a/src/util/config.ts +++ b/src/util/config.ts @@ -66,12 +66,12 @@ export const handleStartup = async ( await persistTemplate({ inputFile: path.join(publicPath, "templates", "bash.template"), outputFile: path.join(hostDir, "bash"), - context: { targetUrl } + context: { TARGET_URL: targetUrl } } as Template); await persistTemplate({ inputFile: path.join(publicPath, "templates", "index.html.template"), outputFile: path.join(hostDir, "index.html"), - context: { targetUrl } + context: { TARGET_URL: targetUrl } } as Template); return mongo; |
