Skip to content

Files

Latest commit

5d7e59b · May 3, 2022

History

History
This branch is 233 commits behind vercel/examples:main.

static-files

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Apr 21, 2022
May 3, 2022

Static Files

Build Output API

This Prebuilt Deployment example demonstrates how to output static files in a Deployment using the Build Output API.

Demo

https://build-output-api-static-files.vercel.sh

How it Works

The .vercel/output/static directory contains static files which will be served globally by the Vercel Edge Network.

In this case, there are three static files which will be served at their respective paths within the static directory. For example, the .vercel/output/static/another.html file will be served from a GET /another.html HTTP request that is sent to the Deployment URL.