mirror of
https://github.com/facebook/docusaurus.git
synced 2025-04-29 18:27:56 +02:00
* 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
23 lines
394 B
TOML
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
|