guge123 commited on
Commit
c29a8b7
1 Parent(s): 4f7e264

Update app.js

Browse files
Files changed (1) hide show
  1. app.js +1 -1
app.js CHANGED
@@ -10,7 +10,7 @@ app.get('/', (req, res) => {
10
  res.send('api');
11
  });
12
 
13
- app.get('/r18', (req, res) => {
14
  const r18FolderPath = path.join(__dirname, 'api', 'mm');
15
  const images = fs.readdirSync(r18FolderPath);
16
  const randomImage = getRandomImage(images);
 
10
  res.send('api');
11
  });
12
 
13
+ app.get('/mm', (req, res) => {
14
  const r18FolderPath = path.join(__dirname, 'api', 'mm');
15
  const images = fs.readdirSync(r18FolderPath);
16
  const randomImage = getRandomImage(images);