aboutsummaryrefslogtreecommitdiff
path: root/vnext/server/index.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2024-10-21 03:59:49 +0300
committerGravatar Vitaly Takmazov2024-10-21 04:12:57 +0300
commit1eac455507b75c0795c169d92e1ce9bb36733209 (patch)
tree6c1cd441543982a4ea41ffb63cdf33d5b294ab57 /vnext/server/index.js
parentc7738cdc5d7a63c8cd2609a2e4df9f8d28698608 (diff)
vnext: `postgres` -> `sequelize`
* implement `active_month` field for Mastodon `/api/v2/instance` endpoint
Diffstat (limited to 'vnext/server/index.js')
-rw-r--r--vnext/server/index.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/vnext/server/index.js b/vnext/server/index.js
index 1fd46557..f27f0908 100644
--- a/vnext/server/index.js
+++ b/vnext/server/index.js
@@ -15,7 +15,6 @@ import { instance } from './middleware/mastodon'
const PORT = process.env.LISTEN_PORT || 8081
import path from 'path'
import { webhook, webhookPath } from './durov'
-import { get_count } from './db/users'
// initialize the application and create the routes
const app = express()
@@ -50,10 +49,6 @@ router.use(express.static(
app.use(router)
-get_count().then(count => {
- log(`Registered users: ${JSON.stringify(count)}`)
-}).catch(log)
-
// start the app
app.listen(PORT, (error) => {
if (error) {