We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f8dcef commit 9605a52Copy full SHA for 9605a52
package.json
@@ -1,9 +1,9 @@
1
{
2
"name": "shortlinks",
3
- "module": "index.js",
+ "module": "index.ts",
4
"type": "module",
5
"scripts": {
6
"clean": "rm database/links.db",
7
- "host": "bun index.js"
+ "host": "bun index.ts"
8
}
9
shortlinks.service.template
@@ -9,7 +9,7 @@ User=<USER_THAT_INSTALLED_BUN>
WorkingDirectory=<PATH_TO_THIS_FOLDER>shortlinks/
10
Environment="SHORTLINKS_PORT=<PORT>"
11
ExecStartPre=<ABSOLUTE_PATH_TO>bun i
12
-ExecStart=<ABSOLUTE_PATH_TO>bun run index.js
+ExecStart=<ABSOLUTE_PATH_TO>bun run index.ts
13
Restart=always
14
15
[Install]
0 commit comments