Skip to content

Commit

Permalink
fix: deploy script and test route
Browse files Browse the repository at this point in the history
  • Loading branch information
raghav-rama committed Nov 28, 2024
1 parent 96278d2 commit 030b2b5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
run: |
zip -r deploy.zip . \
-x "*.git*" \
-x "src/*" \
-x "dist/*" \
-x "node_modules/*" \
&& cd node_modules \
&& zip -r ../deploy.zip . \
Expand Down
6 changes: 5 additions & 1 deletion src/routes/mintOptions.route.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
import { startMintingOptions } from '../controllers/mintOptions.controller.js';
import {
startMintingOptions,
getMintOptions,
} from '../controllers/mintOptions.controller.js';
import { Router } from 'express';

const router = Router();

router.get('/', getMintOptions);
router.post('/', startMintingOptions);

export default router;

0 comments on commit 030b2b5

Please sign in to comment.