Skip to content

Example with route.handler replying file #9

Description

@yotamberk

Hi @SimonDegraeve ,
How can I use this plugin when my route replies a file?
It seems to not recognize the injected bundled file using:
assuming you've registered a view plugin such as Inert/Views -

<some route>...
handler: function(req, rep) {
  return rep.file('index.html')
}

It seems to return the html without the resolved bundled file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions