Skip to content

Commit

Permalink
Make PrefixedRouterContentSourceVc::new public (vercel/turborepo#5226)
Browse files Browse the repository at this point in the history
### Description

It needs to be public for next-dev to instantiate it. 🤦 

### Testing Instructions

<!--
  Give a quick description of steps to test your changes.
-->
  • Loading branch information
jridgewell authored Jun 6, 2023
1 parent 57e28dc commit 293c11e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/turbopack-dev-server/src/source/router.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pub struct PrefixedRouterContentSource {
#[turbo_tasks::value_impl]
impl PrefixedRouterContentSourceVc {
#[turbo_tasks::function]
async fn new(
pub async fn new(
prefix: StringVc,
routes: Vec<(String, ContentSourceVc)>,
fallback: ContentSourceVc,
Expand Down

0 comments on commit 293c11e

Please sign in to comment.