Skip to content

Commit 580028c

Browse files
committed
fix: apply src: {{source}} to CoCreate.config
1 parent 84d5320 commit 580028c

File tree

2 files changed

+7
-23
lines changed

2 files changed

+7
-23
lines changed

CoCreate.config.js

Lines changed: 6 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ module.exports = {
44
"organization_id": "5ff747727005da1c272740ab",
55
"host": "general.cocreate.app"
66
},
7-
8-
"sources": [{
7+
"sources": [
8+
{
99
"entry": "./docs/index.html",
1010
"collection": "files",
11-
"document_id": "60145dc49f64ba1680b86693",
12-
"key": "src",
1311
"document": {
12+
"_id": "637ca44750234ef1671ce319",
1413
"name": "index.html",
1514
"path": "/docs/lazy-loader/index.html",
15+
"src": "{{source}}",
1616
"domains": [
1717
"*",
1818
"general.cocreate.app"
@@ -23,21 +23,5 @@ module.exports = {
2323
"website_id": "5ffbceb7f11d2d00103c4535"
2424
}
2525
}
26-
],
27-
28-
"extract": {
29-
"directory": "./src/",
30-
"extensions": [
31-
"js",
32-
"css",
33-
"html"
34-
],
35-
"ignores": [
36-
"node_modules",
37-
"vendor",
38-
"bower_components",
39-
"archive"
40-
]
41-
}
42-
}
43-
26+
]
27+
}

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ <h2 class="border-bottom:1px_solid_lightgrey padding:5px_0px">Demo</h2>
116116
var CoCreateConfig = {
117117
apiKey: 'c2b08663-06e3-440c-ef6f-13978b42883a',
118118
securityKey: 'f26baf68-e3a9-45fc-effe-502e47116265',
119-
organization_id: '5de0387b12e200ea63204d6c'
119+
organization_id: '5ff747727005da1c272740ab'
120120
}
121121
</script>
122122

0 commit comments

Comments
 (0)