diff --git a/packages/next/src/executors/server/lib/default-server.ts b/packages/next/src/executors/server/lib/default-server.ts index 72fe9948f25db..e77e1205de78e 100644 --- a/packages/next/src/executors/server/lib/default-server.ts +++ b/packages/next/src/executors/server/lib/default-server.ts @@ -19,9 +19,6 @@ export async function defaultServer( const server: express.Express = express(); server.disable('x-powered-by'); - // Serve shared assets copied to `public` folder - server.use(express.static(path.resolve(settings.dir, 'public'))); - // Set up the proxy. if (proxyConfig) { const proxyMiddleware =