CatPtain commited on
Commit
9d621ef
·
verified ·
1 Parent(s): bb8a633

Upload public.js

Browse files
Files changed (1) hide show
  1. backend/src/routes/public.js +1 -1
backend/src/routes/public.js CHANGED
@@ -215,7 +215,7 @@ router.get('/view/:userId/:pptId/:slideIndex?', async (req, res, next) => {
215
  });
216
 
217
  // API接口:获取PPT数据和指定幻灯片(JSON格式)
218
- router.get('/api/view/:userId/:pptId/:slideIndex?', async (req, res, next) => {
219
  try {
220
  const { userId, pptId, slideIndex = 0 } = req.params;
221
  const fileName = `${pptId}.json`;
 
215
  });
216
 
217
  // API接口:获取PPT数据和指定幻灯片(JSON格式)
218
+ router.get('/api-view/:userId/:pptId/:slideIndex?', async (req, res, next) => {
219
  try {
220
  const { userId, pptId, slideIndex = 0 } = req.params;
221
  const fileName = `${pptId}.json`;