Skip to content

Commit 5b58041

Browse files
committed
remove dead code
1 parent b3fb6c0 commit 5b58041

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

bin/serve.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,6 @@ function handleRequest(req, serveDirectory) {
9191
} else if (pathname.startsWith('/assets/') || pathname.startsWith('/favicon') ) {
9292
// serve static files
9393
return handleStatic(`${hyperparamPath}/dist${pathname}`)
94-
// else if (pathname.startsWith('/public/')) {
95-
// // serve static files
96-
// return handleStatic(`${hyperparamPath}${pathname.replace(/^(\/public).*/, '/dist')}`)
9794
} else if (serveDirectory && pathname === '/api/store/list') {
9895
// serve file list
9996
const prefix = parsedUrl.query.prefix || ''

0 commit comments

Comments
 (0)