blok0 0.1.3 → 0.1.4
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/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -143,7 +143,7 @@ async function main() {
|
|
|
143
143
|
case 'add':
|
|
144
144
|
const [addSubcommand, ...addRestArgs] = restArgs;
|
|
145
145
|
if (addSubcommand === 'block') {
|
|
146
|
-
const blockUrl = `https://www.blok0.
|
|
146
|
+
const blockUrl = `https://www.blok0.xyz/api/cli/sections/${addRestArgs[0]}`;
|
|
147
147
|
if (!blockUrl) {
|
|
148
148
|
console.error('Error: Block Slug is required. Use: blok0 add block <slug>');
|
|
149
149
|
process.exit(1);
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -123,7 +123,7 @@ async function main() {
|
|
|
123
123
|
case 'add':
|
|
124
124
|
const [addSubcommand, ...addRestArgs] = restArgs;
|
|
125
125
|
if (addSubcommand === 'block') {
|
|
126
|
-
const blockUrl = `https://www.blok0.
|
|
126
|
+
const blockUrl = `https://www.blok0.xyz/api/cli/sections/${addRestArgs[0]}`;
|
|
127
127
|
if (!blockUrl) {
|
|
128
128
|
console.error('Error: Block Slug is required. Use: blok0 add block <slug>');
|
|
129
129
|
process.exit(1);
|