You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can use two types of playground URLs. If you want to use a common playground for all code playground blocks, you can configure it globally by defining it in the `adp-site-metadata.json`.
35
+
36
+
First, create a `code-playground.json` file as shown below:
37
+
38
+
```json
39
+
{
40
+
"total": 2,
41
+
"offset": 0,
42
+
"limit": 2,
43
+
"data": [
44
+
{
45
+
"key": "code-playground-staging-url",
46
+
"value": "https://stage.projectx.corp.adobe.com/"
47
+
},
48
+
{
49
+
"key": "code-playground-production-url",
50
+
"value": "https://projectx.corp.adobe.com/"
51
+
}
52
+
],
53
+
":type": "sheet"
54
+
}
55
+
```
56
+
57
+
If you need different playground URLs, you can use the attributes **data-playground-url and data-playground-url-stage**.
0 commit comments