Ruloaooa commited on
Commit
53cf329
·
verified ·
1 Parent(s): 5370dd6

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +2 -2
index.js CHANGED
@@ -4,7 +4,7 @@ const helmet = require('helmet');
4
  const rateLimit = require('express-rate-limit')
5
  const bodyParser = require('body-parser');
6
  const app = express();
7
- const port = 3000;
8
 
9
  //Security
10
  app.use(helmet());
@@ -133,7 +133,7 @@ async function createCustomSWGenerator({ profileImage, mainImage, caption = "Cus
133
  * @returns {Buffer} - Gambar dalam format PNG
134
  */
135
 
136
- app.get('/', (req, res) => {
137
  res.json('hi!');
138
  });
139
 
 
4
  const rateLimit = require('express-rate-limit')
5
  const bodyParser = require('body-parser');
6
  const app = express();
7
+ const port = 7860;
8
 
9
  //Security
10
  app.use(helmet());
 
133
  * @returns {Buffer} - Gambar dalam format PNG
134
  */
135
 
136
+ app.get('*', (req, res) => {
137
  res.json('hi!');
138
  });
139