Skip to content

Open-source document signature platform. Not affiliated with DocuSign.

TypeScript

Stop the README pointing at a hosted site

Claude33a783fc442e
diff --git a/README.md b/README.md
index 7b6739a..57763c7 100644
--- a/README.md
+++ b/README.md
@@ -4,9 +4,9 @@ SignuDoc is an e-signature app you can run for your own organization.
Upload a PDF, add signers in order, place fields, send secure signing links, and keep the final signed PDF plus an audit certificate in one place.
-[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FNYLLON-SOFTWARE%2Fsignudoc&project-name=signudoc&repository-name=signudoc&stores=%5B%7B%22type%22%3A%22integration%22%2C%22integrationSlug%22%3A%22neon%22%2C%22productSlug%22%3A%22neon%22%2C%22protocol%22%3A%22storage%22%7D%2C%7B%22type%22%3A%22blob%22%2C%22access%22%3A%22private%22%7D%2C%7B%22type%22%3A%22integration%22%2C%22integrationSlug%22%3A%22resend%22%2C%22productSlug%22%3A%22resend-email%22%2C%22protocol%22%3A%22messaging%22%7D%5D&demo-title=SignuDoc&demo-description=Your%20own%20e-signature%20site.%20Upload%20a%20PDF%2C%20place%20fields%2C%20send%20signing%20links%2C%20and%20keep%20the%20signed%20copy%20with%20its%20audit%20certificate.&demo-url=https%3A%2F%2Fsignudoc.app&demo-image=https%3A%2F%2Fraw.githubusercontent.com%2FNYLLON-SOFTWARE%2Fsignudoc%2Fmain%2Fdocs%2Fimages%2Fprepare.png)
+[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FNYLLON-SOFTWARE%2Fsignudoc&project-name=signudoc&repository-name=signudoc&stores=%5B%7B%22type%22%3A%22integration%22%2C%22integrationSlug%22%3A%22neon%22%2C%22productSlug%22%3A%22neon%22%2C%22protocol%22%3A%22storage%22%7D%2C%7B%22type%22%3A%22blob%22%2C%22access%22%3A%22private%22%7D%2C%7B%22type%22%3A%22integration%22%2C%22integrationSlug%22%3A%22resend%22%2C%22productSlug%22%3A%22resend-email%22%2C%22protocol%22%3A%22messaging%22%7D%5D&demo-title=SignuDoc&demo-description=Your%20own%20e-signature%20site.%20Upload%20a%20PDF%2C%20place%20fields%2C%20send%20signing%20links%2C%20and%20keep%20the%20signed%20copy%20with%20its%20audit%20certificate.&demo-url=https%3A%2F%2Fgithub.com%2FNYLLON-SOFTWARE%2Fsignudoc&demo-image=https%3A%2F%2Fraw.githubusercontent.com%2FNYLLON-SOFTWARE%2Fsignudoc%2Fmain%2Fdocs%2Fimages%2Fprepare.png)
-The button puts your own copy on [Vercel](https://vercel.com) with a Postgres database, private file storage and email already connected. There is no terminal to open and nothing to type in. A hosted version runs at [signudoc.app](https://signudoc.app).
+The button puts your own copy on [Vercel](https://vercel.com) with a Postgres database, private file storage and email already connected. There is no terminal to open and nothing to type in.
![Placing a signature field on a document in SignuDoc](docs/images/prepare.png)
@@ -202,7 +202,7 @@ The first time you open a new install it takes you to `/setup`. There you name y
### Hosted mode
-`HOSTED_MODE=1` runs SignuDoc as a public service under its own name, the way [signudoc.app](https://signudoc.app) does: the landing page at `/`, the built-in terms, privacy, contact and accessibility pages, and sign-up open to anyone. Leave it unset for an install that belongs to one organization.
+`HOSTED_MODE=1` runs SignuDoc as a public service under its own name: the landing page at `/`, the built-in terms, privacy, contact and accessibility pages, and sign-up open to anyone. Leave it unset for an install that belongs to one organization.
## Development notes
diff --git a/src/lib/deploy-button.test.ts b/src/lib/deploy-button.test.ts
index 0fb335f..931f8c8 100644
--- a/src/lib/deploy-button.test.ts
+++ b/src/lib/deploy-button.test.ts
@@ -74,6 +74,13 @@ test("the button's demo card is complete and its picture is in the repository",
assert.ok(link.searchParams.get(parameter), parameter);
}
+ // There is no hosted demo to send people to, so the card's link goes to
+ // the repository, where the README shows the product.
+ assert.equal(
+ link.searchParams.get("demo-url"),
+ "https://github.com/NYLLON-SOFTWARE/signudoc",
+ );
+
const image = link.searchParams.get("demo-image") ?? "";
const prefix =
"https://raw.githubusercontent.com/NYLLON-SOFTWARE/signudoc/main/";