Skip to content

Commit 06c34cb

Browse files
Merge pull request #50 from netlify/remove-encoding
fix: remove uri encoding from manifest
2 parents 9ef6ecb + 4a2a826 commit 06c34cb

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

demo/index.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
<!DOCTYPE html>
22
<html lang="en">
3+
34
<head>
45
<meta charset="UTF-8">
56
<meta http-equiv="X-UA-Compatible" content="IE=edge">
67
<meta name="viewport" content="width=device-width, initial-scale=1.0">
78
<title>Document</title>
89
</head>
10+
911
<body>
10-
Hi
12+
<h1>Hi</h1>
13+
<img src="images/frogmouth.png" alt="Baby tawny frogmouth looking surly" />
1114
</body>
12-
</html>
15+
16+
</html>

demo/public/images/frogmouth.png

436 KB
Loading

netlify.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[build]
22
publish = "demo/dist"
3-
command = "npm run build:demo"
3+
command = "npm run build && npm run build:demo"

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const netlifyEdge = ({
6262
.sync('**/*', {
6363
cwd: path.resolve(resolvedConfig.root, originalPublicDir),
6464
})
65-
.map((file) => `${resolvedConfig.base}${encodeURIComponent(file)}`)
65+
.map((file) => `${resolvedConfig.base}${file}`)
6666

6767
return `export default new Set(${JSON.stringify([
6868
...files,

0 commit comments

Comments
 (0)