summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/index.ts b/source/index.ts
index 72d1185..7c2a61b 100644
--- a/source/index.ts
+++ b/source/index.ts
@@ -7,7 +7,7 @@ const app = new Application()
const router = new Router()
const renderEnv = {
- commit: Deno.readTextFileSync("./.git/refs/heads/main").toString().substr(0, 8)
+ commit: Deno.readTextFileSync("./.git/refs/heads/main").toString().substring(0, 8)
}
const templates: Map<string, compileTemplate> = new Map()