Ruloaooa commited on
Commit
0309e6f
·
verified ·
1 Parent(s): b24d16e

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -1
index.js CHANGED
@@ -278,7 +278,7 @@ function wrapText(ctx, text, x, y, maxWidth, lineHeight) {
278
  * @returns {Buffer} - Gambar dalam format PNG
279
  */
280
 
281
- app.get('*', (req, res) => {
282
  const documentation = {
283
  description: 'API documentation for generating image using canvas',
284
  totalRequest: totalReq,
 
278
  * @returns {Buffer} - Gambar dalam format PNG
279
  */
280
 
281
+ app.get('/', (req, res) => {
282
  const documentation = {
283
  description: 'API documentation for generating image using canvas',
284
  totalRequest: totalReq,