Skip to content

Commit

Permalink
modify build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
transcai committed Nov 2, 2022
1 parent 5a38379 commit 70ad479
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ app.use(function (err, req, res, next) {
res.json({ status: err.status || 500 });
});

module.exports = app;
module.exports = app;
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

npm i

tar Rzcf cgserver.tgz bin node_modules public views routes cloud_rendering_lib *.js *.json
tar zcf cgserver.tgz bin node_modules public views routes cloud_rendering_lib *.js *.json

docker build . -t cgserver

Expand Down
1 change: 0 additions & 1 deletion cloud_rendering_lib/sign.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ const verifySign = (req, res, next) => {
} else {
next();
}

};

module.exports = {
Expand Down
2 changes: 1 addition & 1 deletion entry.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const { Config } = require('./cloud_rendering_lib/config');
Config.reloadConfig();

require('./routes/car');
require('./routes/car');
2 changes: 1 addition & 1 deletion routes/car.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const enqueueTimeout = 30000; // ms
const queueCheckInterval = 1000; // ms
const noIdleMsg = 'ResourceNotFound.NoIdle';

queue = new BaseQueue(queueCheckInterval)
queue = new BaseQueue(queueCheckInterval);
if (Config.configs[DefaultKeys.REDIS_QUEUE] == 'Y') {
createRedisConnection();
queue = new RedisQueue("WaitQueue", queueCheckInterval);
Expand Down

0 comments on commit 70ad479

Please sign in to comment.