@gmickel/gno 0.27.0 → 0.27.1
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.
- package/package.json +1 -1
- package/src/serve/routes/api.ts +2 -1
package/package.json
CHANGED
package/src/serve/routes/api.ts
CHANGED
|
@@ -1423,7 +1423,8 @@ export async function handleCreateDoc(
|
|
|
1423
1423
|
await atomicWrite(fullPath, contentToWrite);
|
|
1424
1424
|
|
|
1425
1425
|
// Build gno:// URI for the created document
|
|
1426
|
-
const
|
|
1426
|
+
const posixRelPath = normalizedRelPath.split(nodePath.sep).join("/");
|
|
1427
|
+
const gnoUri = `gno://${collection.name}/${posixRelPath}`;
|
|
1427
1428
|
|
|
1428
1429
|
// Run sync via job system (non-blocking)
|
|
1429
1430
|
// Note: embedding handled separately by embed-scheduler (not inline)
|