heyiam 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -641,7 +641,7 @@ export function createPublishRouter(ctx) {
641
641
  return;
642
642
  }
643
643
  const okBody = await phoenixRes.json().catch(() => ({}));
644
- const publishedUrl = okBody.username ? `${API_URL}/${okBody.username}` : undefined;
644
+ const publishedUrl = okBody.username ? `${PUBLIC_URL}/${okBody.username}` : undefined;
645
645
  const publishedAt = new Date().toISOString();
646
646
  const hash = hashPortfolioProfile(profile);
647
647
  updatePortfolioPublishTarget(DEFAULT_PORTFOLIO_TARGET, {
@@ -658,7 +658,7 @@ export function createPublishRouter(ctx) {
658
658
  invalidatePortfolioPreviewCache();
659
659
  res.json({
660
660
  ok: true,
661
- url: publishedUrl ?? `${API_URL}/${auth.username}`,
661
+ url: publishedUrl ?? `${PUBLIC_URL}/${auth.username}`,
662
662
  publishedAt,
663
663
  hash,
664
664
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "heyiam",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "Turn AI coding sessions into portfolio case studies",
5
5
  "type": "module",
6
6
  "license": "MIT",