Skip to content

Commit d5968d2

Browse files
committed
fix: apply src: {{source}} to CoCreate.config
1 parent 27977c1 commit d5968d2

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": "60208f6c3c260207bf49cabc",
12-
"key": "src",
1311
"document": {
12+
"_id": "60208f6c3c260207bf49cabc",
1413
"name": "index.html",
1514
"path": "/docs/parallax/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+
}

demo/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ <h3 style="text-align:center;">Parallax Demo</h3>
7575
<script>
7676
var CoCreateConfig = {
7777
apiKey: 'c2b08663-06e3-440c-ef6f-13978b42883a',
78-
organization_id: '5de0387b12e200ea63204d6c',
78+
organization_id: '5ff747727005da1c272740ab',
7979
host: 'ws.cocreate.app'
8080
}
8181
</script>

0 commit comments

Comments
 (0)