aboutsummaryrefslogtreecommitdiff
path: root/server.ts
diff options
context:
space:
mode:
authoramelia <[email protected]>2022-06-22 19:00:05 -0500
committeramelia <[email protected]>2022-06-22 19:00:05 -0500
commit4b36068d2cbc5b07815affb3b62e040cebee118e (patch)
tree6b9936f5e8b2c274521d6217f2468d3bf64b2ef3 /server.ts
parentb7e7dece4b6a85b242bc87ddd005ce12d484f7a5 (diff)
general updates
Diffstat (limited to 'server.ts')
-rw-r--r--server.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server.ts b/server.ts
index 4907371..05807cd 100644
--- a/server.ts
+++ b/server.ts
@@ -1,7 +1,7 @@
var fs = require('fs');
var express = require('express');
var app = express();
-const PORT = 8008 || process.env.PORT;;
+const PORT = 8008 || process.env.PORT;
fs.readFile('./index.html', function (err:any, html:any) {
app.listen(PORT, function () {
console.log('listening! http://localhost:' + PORT);
@@ -11,4 +11,4 @@ app.get('/', function (req:any, res:any) {
})
app.get('/crates.json', function (req:any, res:any) {
res.sendFile('crates.json', {root: __dirname })
-})}) \ No newline at end of file
+})}); \ No newline at end of file