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 002f8ba commit 6f9832dCopy full SHA for 6f9832d
apps/cli/src/helpers/core/template-manager.ts
@@ -1094,10 +1094,14 @@ export async function setupDeploymentTemplates(
1094
(context.serverDeploy === "alchemy" || isBackendSelf)
1095
) {
1096
if (await fs.pathExists(alchemyTemplateSrc)) {
1097
+ const webAppDir = path.join(projectDir, "apps/web");
1098
+ const destDir = isBackendSelf && (await fs.pathExists(webAppDir))
1099
+ ? webAppDir
1100
+ : projectDir;
1101
await processAndCopyFiles(
1102
"alchemy.run.ts.hbs",
1103
alchemyTemplateSrc,
- projectDir,
1104
+ destDir,
1105
context,
1106
);
1107
0 commit comments