Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

Latest commit

 

History

History
21 lines (11 loc) · 663 Bytes

README.md

File metadata and controls

21 lines (11 loc) · 663 Bytes

self-hosted-studio-example

Example of how to serve a built Sanity Studio using node.js.

Installing

npm install

Running

npm start

How it works

We use express for our basic HTTP server and static file serving, and express-history-api-fallback to serve a default file (index.html) on all other requests, so that the client-side can take over and do the routing.

See the Sanity documentation for more information on deployment options.

License

MIT-licensed. See LICENSE.