Sam Hulick
12/31/2021, 7:02 PMApi
construct to specify a wildcard for a route? e.g. GET /something/*
? I need the route to match /something/123abc
as well as /something/hi/hello
. does GET /something/{proxy+}
work?Adam Fanello
12/31/2021, 7:14 PMAdam Fanello
12/31/2021, 7:15 PMSam Hulick
12/31/2021, 7:18 PMFrank
Frank
proxy+
should work
new Api(this, "Api", {
routes: {
"GET /something/{proxy+}": "src/something.main",
},
});
Sam Hulick
12/31/2021, 8:52 PM