docusaurus/admin/new.docusaurus.io/netlify.toml
Sébastien Lorber 700a82aefe
feat: multiple playground choices (#5207)
* poc of using netlify functions for playground redirections

* push

* cleanup

* restore files

* fix netlify functions?

* fix netlify functions?

* implement serverless functions for playgrounds with persistent cookie

* move new.docusaurus.io to monorepo packages

* move new.docusaurus.io to monorepo packages

* lockfile

* push

* catch-all redirect

* Translate/Interpolate: add better error message if not used correctly

* Add /docs/playground page

* Add some additional doc
2021-07-22 21:10:36 +02:00

23 lines
394 B
TOML

[functions]
directory = "functions"
[[redirects]]
from = "/"
to = "/.netlify/functions/index"
status = 200
[[redirects]]
from = "/codesandbox"
to = "/.netlify/functions/codesandbox"
status = 200
[[redirects]]
from = "/stackblitz"
to = "/.netlify/functions/stackblitz"
status = 200
[[redirects]]
from = "/*"
to = "/.netlify/functions/index"
status = 200