disable front deploy
This commit is contained in:
12
index.js
12
index.js
@@ -53,12 +53,12 @@ const server = http.createServer((req, res) => {
|
|||||||
body += chunk.toString();
|
body += chunk.toString();
|
||||||
});
|
});
|
||||||
req.on('end', async () => {
|
req.on('end', async () => {
|
||||||
try {
|
// try {
|
||||||
await deployCrmAdmin();
|
// await deployCrmAdmin();
|
||||||
console.log('Deployed CRM Admin');
|
// console.log('Deployed CRM Admin');
|
||||||
} catch (error) {
|
// } catch (error) {
|
||||||
console.error('Error deploying:', error);
|
// console.error('Error deploying:', error);
|
||||||
}
|
// }
|
||||||
res.writeHead(200, { 'Content-Type': 'application/json' });
|
res.writeHead(200, { 'Content-Type': 'application/json' });
|
||||||
res.end(JSON.stringify({
|
res.end(JSON.stringify({
|
||||||
message: 'Echo response',
|
message: 'Echo response',
|
||||||
|
|||||||
Reference in New Issue
Block a user