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 <[email protected]>
Co-authored-by: Florian Forster <[email protected]>
This commit is contained in:
mffap
2023-03-22 07:19:19 +00:00
committed by GitHub
co-authored by Max Peintner Florian Forster
parent a8fe15829e
commit 9257cf7086
6 changed files with 394 additions and 248 deletions
+12 -1
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" }