Created
December 15, 2021 10:37
-
-
Save tjmonsi/e92b6091038e7a9ed6337d1f74817bd9 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 { root } from './root/index.js'; | |
import { blog } from './blog/index.js'; | |
import { blogId } from './blog/_id/index.js'; | |
import { user } from './user/index.js'; | |
import { authLogin, authLogout, checkAuth } from './auth/index.js'; | |
export const paths = { | |
// '/': root, | |
'/blog': blog, | |
'/blog/:id': blogId, | |
'/user': user, | |
'/auth/login': authLogin, | |
'/auth/logout': authLogout, | |
'/auth/check-auth': checkAuth | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment