Skip to main content
Module

x/opine/examples/static-files/README.md

Fast, minimalist web framework for Deno ported from ExpressJS.
Go to Latest
File

static-files

An example of how to serve static files to a user using the Opine serveStatic middleware.

How to run this example

Run this example using:

deno run --allow-net --allow-read ./examples/static-files/index.ts

if have the repo cloned locally OR

deno run --allow-net --allow-read https://raw.githubusercontent.com/asos-craigmorten/opine/main/examples/static-files/index.ts

if you don’t!