deno.land / x / opine@2.3.4 / examples / error-pages

error-pages

Example of how to use Opine's template engine and rendering capabilities for custom error pages.

How to run this example

Run this example using:

deno run --allow-net --allow-read --allow-env ./examples/error-pages/index.ts

after cloning the repo locally.

To turn off verbose errors, set DENO_ENV=production. For example:

DENO_ENV=production deno run --allow-net --allow-read --allow-env ./examples/error-pages/index.ts
opine

Version Info

Tagged at
a year ago