Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 469 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 469 Bytes

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