Trey Overton
05/19/2022, 7:11 PMthdxr
05/19/2022, 7:35 PMthdxr
05/19/2022, 7:36 PMthdxr
05/19/2022, 7:36 PMthdxr
05/19/2022, 7:36 PMTrey Overton
05/19/2022, 7:36 PMthdxr
05/19/2022, 7:37 PMurl.fileURLToPath(import.meta.url);
to get the location of your filethdxr
05/19/2022, 7:37 PMTrey Overton
05/19/2022, 7:39 PMTrey Overton
05/19/2022, 7:41 PMprops.api.addRoutes(this, {
['GET /'.concat(id)]: {
function: {
environment: this.env,
permissions: [props.table],
handler: 'node_modules/@heatherstoneio/mojo/src/sst/lambdas/placeholder.placeholder'
}
}
});
with the constructed value from the functional call above?Trey Overton
05/19/2022, 7:42 PMthdxr
05/19/2022, 7:44 PM