1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
unleash.unleash/website
Ivar Conradi Østhus 4a3d26065f
Fix/cors expose ETag (#2594)
This commit fixes two issues with the frontend API

1. fix: update cors max age to match chromium defaults
https://source.chromium.org/chromium/chromium/src/+/main:services/network/public/cpp/cors/preflight_result.cc;drc=49e7c0b4886cac1f3d09dc046bd528c9c811a0fa;l=31
2: fix: expose ETage for cross-origin requests
2022-12-05 10:04:35 +01:00
..
.storybook
docs Fix/cors expose ETag (#2594) 2022-12-05 10:04:35 +01:00
src
static
.gitignore
babel.config.js
clean-generated-docs.js
docusaurus.config.js
package.json chore(deps): update dependency @babel/core to v7.20.5 (#2551) 2022-11-28 21:52:20 +00:00
README.md
sidebars.js fix: add ADR for domain language (#2541) 2022-11-29 08:57:27 +01:00
tsconfig.json
yarn.lock chore(deps): update dependency @babel/core to v7.20.5 (#2551) 2022-11-28 21:52:20 +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.