Skip to content

Commit

Permalink
add log
Browse files Browse the repository at this point in the history
  • Loading branch information
wassfila committed Jun 15, 2024
1 parent c5144c9 commit 2038ac1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@google/model-viewer": "^3.4.0",
"@svgdotjs/svg.js": "^3.1.2",
"astro": "^4.10.1",
"content-structure": "^1.1.9",
"content-structure": "1.1.9",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"datatables.net-dt": "^1.13.7",
Expand Down
1 change: 1 addition & 0 deletions src/pages/assets/[...path].js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export async function getStaticPaths(){
}

const asset_list = await load_json_abs(join(config.collect_content.outdir,'asset_list.json'))
console.log(asset_list.map(entry=>entry.path))
const assets = asset_list.filter((asset)=>(
((asset.type != "link") && (Object.hasOwn(asset,"path"))) ||
((asset.type == "link") && (!asset.external) && asset.filter_ext))
Expand Down

0 comments on commit 2038ac1

Please sign in to comment.