freeCodeCamp/server/utils/lang-passthrough-urls.js

5 lines
111 B
JavaScript

export default [
'auth',
'services'
].reduce((throughs, route) => (throughs[route] = true, throughs), {});