mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-20 07:04:34 +00:00
feat(coding-agent): use hash fragments for share URLs (#829)
Fixes #828
This commit is contained in:
parent
964f17b8d1
commit
8b23c0a45e
2 changed files with 5 additions and 1 deletions
|
|
@ -2,6 +2,10 @@
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- Share URLs now use hash fragments (`#`) instead of query strings (`?`) to prevent session IDs from being sent to buildwithpi.ai ([#828](https://github.com/badlogic/pi-mono/issues/828))
|
||||||
|
|
||||||
## [0.49.0] - 2026-01-17
|
## [0.49.0] - 2026-01-17
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
|
||||||
|
|
@ -3297,7 +3297,7 @@ export class InteractiveMode {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create the preview URL
|
// Create the preview URL
|
||||||
const previewUrl = `https://buildwithpi.ai/session?${gistId}`;
|
const previewUrl = `https://buildwithpi.ai/session/#${gistId}`;
|
||||||
this.showStatus(`Share URL: ${previewUrl}\nGist: ${gistUrl}`);
|
this.showStatus(`Share URL: ${previewUrl}\nGist: ${gistUrl}`);
|
||||||
} catch (error: unknown) {
|
} catch (error: unknown) {
|
||||||
if (!loader.signal.aborted) {
|
if (!loader.signal.aborted) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue