Skip to content

Commit 9605a52

Browse files
committed
Completed move to Typescript
1 parent 9f8dcef commit 9605a52

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"name": "shortlinks",
3-
"module": "index.js",
3+
"module": "index.ts",
44
"type": "module",
55
"scripts": {
66
"clean": "rm database/links.db",
7-
"host": "bun index.js"
7+
"host": "bun index.ts"
88
}
99
}

shortlinks.service.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ User=<USER_THAT_INSTALLED_BUN>
99
WorkingDirectory=<PATH_TO_THIS_FOLDER>shortlinks/
1010
Environment="SHORTLINKS_PORT=<PORT>"
1111
ExecStartPre=<ABSOLUTE_PATH_TO>bun i
12-
ExecStart=<ABSOLUTE_PATH_TO>bun run index.js
12+
ExecStart=<ABSOLUTE_PATH_TO>bun run index.ts
1313
Restart=always
1414

1515
[Install]

0 commit comments

Comments
 (0)