diff options
| -rw-r--r-- | public/templates/bash.template (renamed from public/bash.template) | 0 | ||||
| -rw-r--r-- | public/templates/index.html.template (renamed from public/index.html.template) | 0 | ||||
| -rw-r--r-- | src/index.ts | 4 |
3 files changed, 2 insertions, 2 deletions
diff --git a/public/bash.template b/public/templates/bash.template index 08a5913..08a5913 100644 --- a/public/bash.template +++ b/public/templates/bash.template diff --git a/public/index.html.template b/public/templates/index.html.template index 0dfbee7..0dfbee7 100644 --- a/public/index.html.template +++ b/public/templates/index.html.template diff --git a/src/index.ts b/src/index.ts index 6749ae1..71da73c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -34,12 +34,12 @@ if (!path.isAbsolute(HOST_DIR)) { // prepare template files const bashTemplate = { - inputFile: path.join(__dirname, "..", "public", "bash.template"), + inputFile: path.join(__dirname, "..", "public", "templates", "bash.template"), outputFile: path.join(HOST_DIR, "bash"), context: { TARGET_URL } } as Template; const indexTemplate = { - inputFile: path.join(__dirname, "..", "public", "index.html.template"), + inputFile: path.join(__dirname, "..", "public", "templates", "index.html.template"), outputFile: path.join(HOST_DIR, "index.html"), context: { TARGET_URL } } as Template; |
