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 b3fb6c0 commit 5b58041Copy full SHA for 5b58041
bin/serve.js
@@ -91,9 +91,6 @@ function handleRequest(req, serveDirectory) {
91
} else if (pathname.startsWith('/assets/') || pathname.startsWith('/favicon') ) {
92
// serve static files
93
return handleStatic(`${hyperparamPath}/dist${pathname}`)
94
- // else if (pathname.startsWith('/public/')) {
95
- // // serve static files
96
- // return handleStatic(`${hyperparamPath}${pathname.replace(/^(\/public).*/, '/dist')}`)
97
} else if (serveDirectory && pathname === '/api/store/list') {
98
// serve file list
99
const prefix = parsedUrl.query.prefix || ''
0 commit comments