Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Commit bc6bc78

Browse files
authored
remove extra ) causing syntax error
whoops, copy paste mistake
1 parent 222a333 commit bc6bc78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/export.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ async function _export({
113113

114114
if (is_html) {
115115
if (pathname !== '/service-worker-index.html'
116-
&& pathname.substr(pathname.length - 5) !== '.html')) {
116+
&& pathname.substr(pathname.length - 5) !== '.html') {
117117
file = file === '' ? 'index.html' : `${file}/index.html`;
118118
}
119119
body = minify_html(body);

0 commit comments

Comments
 (0)