I have my plugin configured as
exports.plugin = {
register: server => {
server.route([
{
method: "GET",
path: "/{param*}",
handler: {
directory: {
path: "./build",
redirectToSlash: true,
index: true,
},
},
},
]);
},
name: "share",
};
my static assets are all in ./build folder, but all i got is
{
statusCode: 404,
error: "Not Found",
message: "Not Found"
}
Is there some way I can see where my url is mapped to?
I have my plugin configured as
my static assets are all in ./build folder, but all i got is
Is there some way I can see where my url is mapped to?