diff --git a/package.json b/package.json index eab943a..d694f5d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@profullstack/readm3", - "version": "0.25.0", + "version": "0.25.1", "description": "Markdown editing and sharing for people and teams. Web/PWA, CLI, API and MCP with version history, view/edit links, and a terminal reader.", "type": "module", "license": "MIT", diff --git a/site/server.ts b/site/server.ts index 796fd9d..78897b0 100644 --- a/site/server.ts +++ b/site/server.ts @@ -217,7 +217,7 @@ export function serveSite(options: { accounts?: Accounts; coinpay?: ConstructorP } // readm3.com/talk: Ask AI about your files, which is the editor with the Ask AI dialog open. - if (url.pathname === "/talk") return Response.redirect(`${url.origin}/viewer?ask=1`, 302); + if (url.pathname === "/talk") return new Response(null, { status: 302, headers: { location: "/viewer?ask=1" } }); // /p//raw is the paste's text, the address a curl or a "Raw" link wants. const rawPaste = url.pathname.match(/^\/p\/([A-Za-z0-9_-]{43})\/raw$/); diff --git a/src/cli.ts b/src/cli.ts index 34d5cac..d0f3ee5 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -12,7 +12,7 @@ import { run, type ViewerOptions } from "./viewer.ts"; import { isCloudCommand, cloudMain, CLOUD_USAGE } from "./cloud-cli.ts"; import { isDesktopCommand, desktopMain, installedDesktop, prefersDesktop, DESKTOP_USAGE } from "./desktop-cli.ts"; -export const VERSION = "0.25.0"; +export const VERSION = "0.25.1"; /** The help text, exported so a test can hold it to the flags it documents. */ export const USAGE = `readm3 — a plain text editor for Markdown and code