Merge pull request #282 from OpenSignLabs/staging

sync fork
This commit is contained in:
prafull-opensignlabs
2023-12-18 10:57:46 +05:30
committed by GitHub
3 changed files with 12 additions and 6 deletions
-6
View File
@@ -172,12 +172,6 @@ app.get('/', function (req, res) {
res.status(200).send('open-sign-server is running !!!');
});
// There will be a test page available on the /test path of your server url
// Remove this before launching your app
app.get('/test', function (req, res) {
res.sendFile(path.join(__dirname, '/public/test.html'));
});
if (!process.env.TESTING) {
const port = process.env.PORT || 8080;
const httpServer = http.createServer(app);