diff --git a/functions/app/index.js b/functions/app/index.js index a62e72c..7114599 100644 --- a/functions/app/index.js +++ b/functions/app/index.js @@ -16,7 +16,7 @@ export default function expressApp(functionName) { router.use(compression()) // Set router base path for local dev - const routerBasePath = (process.env.NODE_ENV === 'dev') ? `/${functionName}` : `/.netlify/functions/${functionName}/` + const routerBasePath = (process.env.NODE_ENV === 'dev') ? `/${functionName}` : `/.netlify/functions/${functionName}` /* define routes */ router.get('/', (req, res) => { @@ -37,11 +37,11 @@ export default function expressApp(functionName) {
Choose a route: