1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02: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 fix: adds cors caching (#2522) 2022-11-24 16:14:47 +01:00
src
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
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
sidebars.js refactor: move docs into new structure / fix links for SEO (#2416) 2022-11-22 09:05:30 +00:00
tsconfig.json
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.