Skip to content

Commit

Permalink
fix: Add path and pathname
Browse files Browse the repository at this point in the history
  • Loading branch information
frankpagan committed Sep 18, 2023
1 parent 7063925 commit f2ff42d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions CoCreate.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ module.exports = {
"object": {
"_id": "60145dc49f64ba1680b86693",
"name": "index.html",
"path": "/docs/file-server/index.html",
"path": "/docs/file-server",
"pathname": "/docs/file-server/index.html",
"src": "{{./docs/index.html}}",
"host": [
"cocreate.app",
"general.cocreate.app"
],
"directory": "/docs/file-server",
"directory": "file-server",
"content-type": "text/html",
"public": "true",
"website_id": "5ffbceb7f11d2d00103c4535"
"public": "true"
}
}
]
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ class CoCreateFileSystem {
$filter: {
query: [
{ key: "host", value: [hostname, '*'], operator: "$in" },
{ key: "path", value: pathname, operator: "$eq" }
{ key: "pathname", value: pathname, operator: "$eq" }
],
limit: 1
},
Expand Down

0 comments on commit f2ff42d

Please sign in to comment.