This commit is contained in:
Michael Shilman 2023-03-09 18:39:09 +08:00 committed by GitHub
parent e4b05e9aec
commit efecf53869
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,7 @@ export async function useStatics(router: any, options: Options) {
const { staticDir, staticPath, targetEndpoint } = await parseStaticDir(relativeDir);
// Don't log for the internal static dir
if (!targetEndpoint.startsWith('sb-')) {
if (!targetEndpoint.startsWith('/sb-')) {
logger.info(
chalk`=> Serving static files from {cyan ${staticDir}} at {cyan ${targetEndpoint}}`
);