Skip to content

Serve install.sh from the web app#1990

Closed
princepal9120 wants to merge 1 commit intomultica-ai:mainfrom
princepal9120:prince/install-sh-endpoint
Closed

Serve install.sh from the web app#1990
princepal9120 wants to merge 1 commit intomultica-ai:mainfrom
princepal9120:prince/install-sh-endpoint

Conversation

@princepal9120
Copy link
Copy Markdown
Contributor

@princepal9120 princepal9120 commented May 1, 2026

https://multica.ai/install.sh currently returns a 404, even though the repo already has an installer script in scripts/install.sh.

This PR serves that existing script from the web app at /install.sh, so the published install URL works without adding another copy of the script or depending on a redirect.

What changed:

  • Added apps/web/app/install.sh/route.ts.
  • The route reads scripts/install.sh from the repo and returns it as text/x-shellscript.
  • Added a focused route test that checks the response status, content type, shebang, and usage text.

Closes #1984.

Validation:

git diff --cached --check

I also ran a small Node check to verify the route resolves to scripts/install.sh, and that the script starts with #!/usr/bin/env bash and includes Usage: install.sh.

I attempted the targeted web test as well:

corepack pnpm --filter @multica/web test -- app/install.sh/route.test.ts

That could not run in this checkout because dependencies were not installed, and corepack pnpm install --frozen-lockfile failed with ERR_PNPM_ENOSPC on the runner filesystem.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 1, 2026

@princepal9120 is attempting to deploy a commit to the IndexLabs Team on Vercel.

A member of the Team first needs to authorize it.

@princepal9120 princepal9120 changed the title fix(web): serve install script endpoint Serve install.sh from the web app May 1, 2026
@forrestchang
Copy link
Copy Markdown
Collaborator

dup #1949

@princepal9120 princepal9120 deleted the prince/install-sh-endpoint branch May 2, 2026 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: The install.sh 404

2 participants