docs(playground): save to clipboard (#5488)

* docs(playground): permanent link

* add scope urn:zitadel:iam:org:project:roles

* remove window

* remove copy

* move to top right of card, fresh lockfile

* remove scope

* copy to clipboard

* browser only

* cleanup

* try with plausible css

* remove plausible plugin

* remove plausible window

* fix plausible in preview

* plausible script

---------

Co-authored-by: Max Peintner <max@caos.ch>
Co-authored-by: Florian Forster <florian@zitadel.com>
This commit is contained in:
mffap
2023-03-22 09:19:19 +02:00
committed by GitHub
parent a8fe15829e
commit 9257cf7086
6 changed files with 394 additions and 248 deletions

View File

@@ -1,7 +1,18 @@
{
"cleanUrls": true,
"rewrites": [
{ "source": "/docs/:match*", "destination": "/:match*" }
{
"source": "/docs/proxy/js/script.js",
"destination": "https://plausible.io/js/script.tagged-events.outbound-links.js"
},
{
"source": "/docs/proxy/api/event",
"destination": "https://plausible.io/api/event"
},
{
"source": "/docs/:match*",
"destination": "/:match*"
}
],
"redirects": [
{ "source": "/", "destination": "/docs" }