Skip to content

Commit 2f9b605

Browse files
committed
fix: CoCreate.config directory, path, name and public
1 parent d78db91 commit 2f9b605

File tree

2 files changed

+38
-43
lines changed

2 files changed

+38
-43
lines changed

CoCreate.config.js

Lines changed: 36 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,42 @@
11
module.exports = {
2-
config: {
3-
apiKey: "c2b08663-06e3-440c-ef6f-13978b42883a",
4-
securityKey: "f26baf68-e3a9-45fc-effe-502e47116265",
5-
organization_Id: "5de0387b12e200ea63204d6c",
6-
host: "server.cocreate.app:8088"
2+
"config": {
3+
"apiKey": "2061acef-0451-4545-f754-60cf8160",
4+
"organization_Id": "5ff747727005da1c272740ab",
5+
"host": "general.cocreate.app"
76
},
8-
9-
sources: [{
10-
path: "./docs/index.html",
11-
collection: "files",
12-
document_id: "6020ce06b526e5753d0ecb7d",
13-
key: "html",
14-
data:{
15-
name: "Dashboard Doc",
16-
}
17-
},
18-
],
19-
20-
crud: [{
21-
collection: "routes",
22-
document_id: "6020ce06b526e5753d0ecb7c",
23-
data:{
24-
collection: "files",
25-
document_id: "6020ce06b526e5753d0ecb7d",
26-
name: "html",
27-
domains: ["cocreate.app", "server.cocreate.app", "ws.cocreate.app"],
28-
route: "/docs/dashboard",
7+
8+
"sources": [{
9+
"entry": "./docs/index.html",
10+
"collection": "files",
11+
"document_id": "6020ce06b526e5753d0ecb7d",
12+
"key": "src",
13+
"data":{
14+
"name": "index.html",
15+
"path": "/docs/dashboard/index.html",
16+
"domains": [
17+
"general.cocreate.app"
18+
],
19+
"directory": "/docs/dashboard",
20+
"content-type": "text/html",
21+
"public": "true",
22+
"website_id": "61381ed8829b690010a4f2b2"
2923
}
3024
}
3125
],
32-
33-
extract: {
34-
directory: "./src/",
35-
extensions: [
36-
"js",
37-
"css",
38-
"html"
39-
],
40-
ignores: [
41-
"node_modules",
42-
"vendor",
43-
"bower_components",
44-
"archive"
45-
],
46-
}
26+
27+
"extract": {
28+
"directory": "./src/",
29+
"extensions": [
30+
"js",
31+
"css",
32+
"html"
33+
],
34+
"ignores": [
35+
"node_modules",
36+
"vendor",
37+
"bower_components",
38+
"archive"
39+
]
40+
}
4741
}
42+

docs/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
</head>
1818

1919
<body>
20-
<nav class="nav display:flex align-items:center background:whitesmoke padding-top:10px padding-bottom:10px" main-content_id="content" scroll="sticky-nav,hide-nav" scroll-up="10" scroll-down="10" collection="components" document_id="60395ef42b3ac232657040fd" name="html">
20+
<nav class="nav display:flex align-items:center background:whitesmoke padding-top:10px padding-bottom:10px" main-content_id="content" scroll="sticky-nav,hide-nav" scroll-up="10" scroll-down="10" collection="files" document_id="60395ef42b3ac232657040fd" name="src">
2121
</nav>
2222
<sidenav id="menuL" class="cocreate-sidenav background:whitesmoke" data-main_content="content" sidenav-default_desktop="expanded" sidenav-default_tablet="offcanvas" sidenav-ontoggle_desktop="offcanvas" sidenav-ontoggle_tablet="expanded">
23-
<menu collection="components" document_id="603717b07de7fb350ae9fec8" name="html"></menu>
23+
<menu collection="files" document_id="603717b07de7fb350ae9fec8" name="src"></menu>
2424
<div class="resizeHandler"></div>
2525
</sidenav>
2626
<main class="padding-top:15px padding:15px@lg@xl" main-content_id="content" id="cocreate-dashboard">

0 commit comments

Comments
 (0)