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

Commit 5a66761

Browse files
committed
fix: not foundにも同じ問題があったので修正
1 parent 96aa9b9 commit 5a66761

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,10 @@ async function fileSearch(url_parse) {
113113
if (is_file === false) {
114114
//defalut html not found
115115

116-
if (await checkFileExists(`/${NOT_FOUND_HTML}`)) {
116+
if (await checkFileExists(NOT_FOUND_HTML)) {
117117
// check 404 html
118118
is_file = true;
119-
path_name = `/${NOT_FOUND_HTML}`;
119+
path_name = NOT_FOUND_HTML;
120120
} else {
121121
return [FILE_NOT_FOUND, ""];
122122
}

0 commit comments

Comments
 (0)