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 6c70e18 commit 2cb6e9c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 23 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": "6011e7d320b8221182666b45",
"key": "src",
"document": {
"_id": "6011e7d320b8221182666b45",
"name": "index.html",
"path": "/docs/search/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 @@ -76,7 +76,7 @@ <h3 >value 3</h3>
<script>
var CoCreateConfig = {
apiKey: 'c2b08663-06e3-440c-ef6f-13978b42883a',
organization_id: '5de0387b12e200ea63204d6c',
organization_id: '5ff747727005da1c272740ab',
host: 'ws.cocreate.app'
}
</script>
Expand Down

0 comments on commit 2cb6e9c

Please sign in to comment.