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

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

License

Notifications You must be signed in to change notification settings

sanity-io/self-hosted-studio-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •