release/2025-04-25 - Update DD, trying again
This commit is contained in:
14
server.js
14
server.js
@@ -5,13 +5,13 @@ require("dotenv").config({
|
||||
});
|
||||
|
||||
// Commented out due to stability issues
|
||||
// if (process.env.NODE_ENV) {
|
||||
// require("dd-trace").init({
|
||||
// profiling: true,
|
||||
// env: process.env.NODE_ENV,
|
||||
// service: "bodyshop-api"
|
||||
// });
|
||||
// }
|
||||
if (process.env.NODE_ENV) {
|
||||
require("dd-trace").init({
|
||||
profiling: true,
|
||||
env: process.env.NODE_ENV,
|
||||
service: "bodyshop-api"
|
||||
});
|
||||
}
|
||||
|
||||
const cors = require("cors");
|
||||
const http = require("http");
|
||||
|
||||
Reference in New Issue
Block a user