Skip to content

Commit

Permalink
fix: apply src: {{source}} to CoCreate.config
Browse files Browse the repository at this point in the history
  • Loading branch information
frankpagan committed Nov 22, 2022
1 parent 3aa48fa commit 7ee48e0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 24 deletions.
28 changes: 6 additions & 22 deletions CoCreate.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ module.exports = {
"organization_id": "5ff747727005da1c272740ab",
"host": "general.cocreate.app"
},

"sources": [{
"sources": [
{
"entry": "./docs/index.html",
"collection": "files",
"document_id": "60206d5b3c260207bf49cab4",
"key": "src",
"document": {
"_id": "60206d5b3c260207bf49cab4",
"name": "index.html",
"path": "/docs/modal/index.html",
"src": "{{source}}",
"domains": [
"*",
"general.cocreate.app"
Expand All @@ -23,21 +23,5 @@ module.exports = {
"website_id": "5ffbceb7f11d2d00103c4535"
}
}
],

"extract": {
"directory": "./src/",
"extensions": [
"js",
"css",
"html"
],
"ignores": [
"node_modules",
"vendor",
"bower_components",
"archive"
]
}
}

]
}
2 changes: 1 addition & 1 deletion demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ <h6 id="page-page"></h6>
<script>
var CoCreateConfig = {
apiKey: 'c2b08663-06e3-440c-ef6f-13978b42883a',
organization_id: '5de0387b12e200ea63204d6c'
organization_id: '5ff747727005da1c272740ab'
}
</script>

Expand Down
2 changes: 1 addition & 1 deletion demo/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<script>
var CoCreateConfig = {
apiKey: 'c2b08663-06e3-440c-ef6f-13978b42883a',
organization_id: '5de0387b12e200ea63204d6c'
organization_id: '5ff747727005da1c272740ab'
}
</script>

Expand Down

0 comments on commit 7ee48e0

Please sign in to comment.