We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e813862 commit d268aebCopy full SHA for d268aeb
1 file changed
server/src/utils.ts
@@ -21,7 +21,7 @@ const getFileContent = (fullUrl: string): Promise<string> => {
21
if (!pathname.trim()) {
22
pathname = 'index.html';
23
}
24
- let filePath = path.resolve(appDir, pathname);
+ const filePath = path.resolve(appDir, pathname);
25
return fs.promises
26
.readFile(filePath, 'utf8')
27
.catch(() => fs.promises.readFile(path.resolve(appDir, '404.html'), 'utf8'));
0 commit comments