Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
GregBrimble committed May 4, 2022
1 parent bae5ba4 commit 97c040e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions examples/pages-functions-app/public/dir/asset.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<!DOCTYPE html>
<html>
<body>
<h1>An asset</h1>
</body>
</html>
4 changes: 2 additions & 2 deletions packages/wrangler/src/pages.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1047,7 +1047,7 @@ const createDeployment: CommandModule<
} else {
let name;
if (depth) {
name = join(...filepath.split(sep).slice(1));
name = filepath.split(sep).slice(1).join("/");
} else {
name = file;
}
Expand Down Expand Up @@ -1146,7 +1146,7 @@ const createDeployment: CommandModule<
JSON.stringify(
Object.fromEntries(
[...fileMap.entries()].map(([fileName, file]) => [
fileName,
`/${fileName}`,
file.metadata.hash,
])
)
Expand Down

0 comments on commit 97c040e

Please sign in to comment.