openvidu-call: Built non minified backend
This commit is contained in:
parent
01b6acfa4b
commit
c4165fa795
@ -12,4 +12,4 @@ CALL_OPENVIDU_CERTTYPE=${CALL_OPENVIDU_CERTTYPE}
|
||||
EOF
|
||||
|
||||
cd /opt/openvidu-call
|
||||
node openvidu-call-server.js
|
||||
node app.js
|
||||
|
||||
@ -22,10 +22,7 @@
|
||||
"supertest": "6.2.2",
|
||||
"ts-loader": "9.2.6",
|
||||
"ts-node": "10.4.0",
|
||||
"typescript": "4.4.4",
|
||||
"webpack": "5.66.0",
|
||||
"webpack-cli": "4.9.1",
|
||||
"webpack-node-externals": "3.0.0"
|
||||
"typescript": "4.4.4"
|
||||
},
|
||||
"homepage": "https://github.com/OpenVidu/openvidu-call#readme",
|
||||
"jest": {
|
||||
@ -47,7 +44,7 @@
|
||||
"url": "git+https://github.com/OpenVidu/openvidu-call.git"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "webpack",
|
||||
"build": "tsc",
|
||||
"start": "cross-env CALL_OPENVIDU_CERTTYPE=selfsigned nodemon src/app.ts",
|
||||
"test": "jest"
|
||||
},
|
||||
|
||||
@ -1,4 +1,3 @@
|
||||
|
||||
import * as express from 'express';
|
||||
import { SERVER_PORT, OPENVIDU_URL, OPENVIDU_SECRET, CALL_OPENVIDU_CERTTYPE } from './config';
|
||||
import {app as callController} from './controllers/CallController';
|
||||
@ -15,7 +14,7 @@ app.use('/call', callController);
|
||||
|
||||
// Accept selfsigned certificates if CALL_OPENVIDU_CERTTYPE=selfsigned
|
||||
if (CALL_OPENVIDU_CERTTYPE === 'selfsigned') {
|
||||
process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0"
|
||||
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
|
||||
}
|
||||
|
||||
app.listen(SERVER_PORT, () => {
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
// "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
|
||||
"sourceMap": true, /* Generates corresponding '.map' file. */
|
||||
// "outFile": "./", /* Concatenate and emit output to single file. */
|
||||
// "outDir": "./dist", /* Redirect output structure to the directory. */
|
||||
"outDir": "./dist", /* Redirect output structure to the directory. */
|
||||
// "rootDir": "./src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
|
||||
// "composite": true, /* Enable project compilation */
|
||||
// "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user