Skip to content

Commit

Permalink
wp-now: mount wp-content folder to wp-content vfs
Browse files Browse the repository at this point in the history
  • Loading branch information
sejas committed Jun 2, 2023
1 parent 07ddd49 commit 1b2260f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/wp-now/src/wp-now.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ async function runWpContentMode(
if (hasPluginOrThemeDirectory(projectPath)) {
php.mount(projectPath, `${documentRoot}/wp-content`);
} else {
php.mount(projectPath, documentRoot);
php.mount(`${projectPath}/wp-content`, `${documentRoot}/wp-content`);
}

mountSqlitePlugin(php, documentRoot);
Expand Down

0 comments on commit 1b2260f

Please sign in to comment.