Last active
March 11, 2017 14:48
-
-
Save taylorstine/6b7018a5509b75bb86b907a1999877ad to your computer and use it in GitHub Desktop.
The router for the image resizer.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import express from 'express' | |
export const router = express.Router(); | |
router.get('/contain/:size/:revision/:image*', validateRequest, containMiddleware); | |
router.get('/cover/:size/:revision/:image*', validateRequest, coverMiddleware); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment