hrmndev commited on
Commit
c5dd7ed
·
verified ·
1 Parent(s): c315991

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -1
index.js CHANGED
@@ -7,7 +7,7 @@ const app = express();
7
  app.use(bodyParser.json());
8
 
9
  // Initialize the Domain API client
10
- const api = new DomainNameAPI(process.env.API_USERNAME, process.env.API_PASSWORD);
11
 
12
  // Authorization middleware
13
  const authorizeRequest = (req, res, next) => {
 
7
  app.use(bodyParser.json());
8
 
9
  // Initialize the Domain API client
10
+ const api = new DomainNameAPI(process.env.API_USERNAME || 'harmon', process.env.API_PASSWORD || 'PrivatePass123#');
11
 
12
  // Authorization middleware
13
  const authorizeRequest = (req, res, next) => {