1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
unleash.unleash/website
Fredrik Strand Oseberg 5d52216d53
fix: adds cors caching (#2522)
* This PR adds a configurable maxAge header to the CORS middleware. This
allows the preflight request to be cached so that we can reduce the
request load on our end for the frontend clients starting to utilise the
frontend api.
2022-11-24 16:14:47 +01:00
..
.storybook docs(docs): document the use of AliasPlugin for theme resolution 2022-04-02 16:47:38 +02:00
docs fix: adds cors caching (#2522) 2022-11-24 16:14:47 +01:00
src docs: add "The Anatomy of Unleash" (#2138) 2022-10-19 13:14:49 +02:00
static Docs: update unleash proxy API img (#2478) 2022-11-23 12:27:59 +00:00
.gitignore Docs/public signup (#2070) 2022-10-10 16:12:11 +03:00
babel.config.js
clean-generated-docs.js chore: update docusaurus/openapi integration to stable version (#2414) 2022-11-14 08:52:46 +01:00
docusaurus.config.js refactor: move docs into new structure / fix links for SEO (#2416) 2022-11-22 09:05:30 +00:00
package.json chore(deps): update dependency enhanced-resolve to v5.12.0 (#2517) 2022-11-23 21:57:46 +00:00
README.md fix: rename websitev2 to website 2021-10-26 11:25:19 +02:00
sidebars.js refactor: move docs into new structure / fix links for SEO (#2416) 2022-11-22 09:05:30 +00:00
tsconfig.json chore: convert feedback component to typescript 2022-03-02 10:50:46 +01:00
yarn.lock chore(deps): update dependency enhanced-resolve to v5.12.0 (#2517) 2022-11-23 21:57:46 +00:00

Website

This website is built using Docusaurus 2, a modern static website generator.

Installation

yarn install

Local Development

yarn start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Build

yarn build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

GIT_USER=<Your GitHub username> USE_SSH=true yarn deploy

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.