Change version to match release tag / 1.2.0 => v1.2.0

This commit is contained in:
ngosang 2020-12-20 02:53:36 +01:00
parent cd4f48721c
commit 9dd0478e69

View File

@ -3,7 +3,7 @@ import { createServer, IncomingMessage, ServerResponse } from 'http';
import { RequestContext } from './types'
import Router, { BaseAPICall } from './routes'
const version: string = require('../package.json').version
const version: string = "v" + require('../package.json').version
const serverPort: number = Number(process.env.PORT) || 8191
const serverHost: string = process.env.HOST || '0.0.0.0'