fix: preview URL resolved from Gitea repo via Coolify git_repository match

Made-with: Cursor
This commit is contained in:
2026-03-09 17:14:55 -07:00
parent 5778abe6c3
commit 22f4c4f1c3
2 changed files with 62 additions and 20 deletions

View File

@@ -188,6 +188,10 @@ export async function createMonorepoAppService(opts: {
});
}
export async function listApplications(): Promise<CoolifyApplication[]> {
return coolifyFetch('/applications');
}
export async function deployApplication(uuid: string): Promise<{ deployment_uuid: string }> {
return coolifyFetch(`/applications/${uuid}/deploy`, { method: 'POST' });
}