mirror of
https://github.com/alexgo-io/peggedassets-server.git
synced 2026-01-12 16:53:14 +08:00
delete dead code
This commit is contained in:
@@ -8,8 +8,6 @@ const webserver = new HyperExpress.Server()
|
||||
|
||||
const port = +(process.env.PORT ?? 5001)
|
||||
|
||||
// if (!process.env.API2_SUBPATH) throw new Error('Missing API2_SUBPATH env var')
|
||||
|
||||
async function main() {
|
||||
console.time('Api Server init')
|
||||
webserver.use((_req, res, next) => {
|
||||
|
||||
Reference in New Issue
Block a user