Skip to content

Commit

Permalink
core: fix static delivery issue
Browse files Browse the repository at this point in the history
  • Loading branch information
terrablue committed Aug 6, 2024
1 parent 9ed5447 commit d7732e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/build/targets/web.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export default async app => {
async asset(pathname) {
const root_asset = buildroot.join(\`client/\${pathname}\`);
if (await await root_asset.isFile) {
return serve_asset(asset);
return serve_asset(root_asset);
}
const static_asset = buildroot.join(\`client/static/\${pathname}\`);
if (await static_asset.isFile) {
Expand Down

0 comments on commit d7732e2

Please sign in to comment.