Skip to content

Instantly share code, notes, and snippets.

@PierreCavalet
Created May 6, 2020 08:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PierreCavalet/26cb13d82c759220eaa9ef40451c2fdc to your computer and use it in GitHub Desktop.
Save PierreCavalet/26cb13d82c759220eaa9ef40451c2fdc to your computer and use it in GitHub Desktop.
const routes = {
home: 'https://workshop-cypress-kaliop.netlify.app/',
login: 'https://workshop-cypress-kaliop.netlify.app/login',
signup: 'https://workshop-cypress-kaliop.netlify.app/signup',
}
const router = {
resolve: (name) => routes[name],
}
module.exports = router
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment