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 5b58041 commit fea8ab0Copy full SHA for fea8ab0
bin/serve.js
@@ -95,8 +95,8 @@ function handleRequest(req, serveDirectory) {
95
// serve file list
96
const prefix = parsedUrl.query.prefix || ''
97
if (Array.isArray(prefix)) return { status: 400, content: 'bad request' }
98
- const perfixPath = `${serveDirectory}/${decodeURIComponent(prefix)}`
99
- return handleListing(perfixPath)
+ const prefixPath = `${serveDirectory}/${decodeURIComponent(prefix)}`
+ return handleListing(prefixPath)
100
} else if (serveDirectory && pathname === '/api/store/get') {
101
// serve file content
102
const key = parsedUrl.query.key || ''
0 commit comments