@learnpack/learnpack 5.0.342 → 5.0.344
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/lib/commands/serve.js +895 -21
- package/lib/creatorDist/assets/{index-BhqDgBS9.js → index-DnthLsvb.js} +4731 -4730
- package/lib/creatorDist/index.html +1 -1
- package/lib/utils/api.d.ts +1 -1
- package/lib/utils/api.js +1 -1
- package/package.json +1 -1
- package/src/commands/serve.ts +1312 -19
- package/src/creator/src/components/FileUploader.tsx +1 -2
- package/src/creator/src/utils/rigo.ts +1 -2
- package/src/creatorDist/assets/{index-BhqDgBS9.js → index-DnthLsvb.js} +4731 -4730
- package/src/creatorDist/index.html +1 -1
- package/src/ui/_app/app.css +1 -1
- package/src/ui/_app/app.js +2103 -2101
- package/src/ui/app.tar.gz +0 -0
- package/src/utils/api.ts +2 -1
|
@@ -181,8 +181,7 @@ const FileUploader: React.FC<FileUploaderProps> = ({
|
|
|
181
181
|
|
|
182
182
|
const webhookUrl = `${
|
|
183
183
|
DEV_MODE
|
|
184
|
-
? "https://1gm40gnb-3000.use2.devtunnels.ms"
|
|
185
|
-
// : "https://1gm40gnb-3000.use2.devtunnels.ms"
|
|
184
|
+
? process.env.HOST || "https://1gm40gnb-3000.use2.devtunnels.ms"
|
|
186
185
|
: window.location.origin
|
|
187
186
|
}/notifications/${resultId}`
|
|
188
187
|
formData.append("webhook_callback_url", webhookUrl)
|
|
@@ -18,9 +18,8 @@ export const publicInteractiveCreation = async (
|
|
|
18
18
|
const randomUID = randomUUID(15);
|
|
19
19
|
const webhookUrl = `${
|
|
20
20
|
DEV_MODE
|
|
21
|
-
? "https://1gm40gnb-3000.use2.devtunnels.ms"
|
|
21
|
+
? process.env.HOST || "https://1gm40gnb-3000.use2.devtunnels.ms"
|
|
22
22
|
: window.location.origin
|
|
23
|
-
// : "https://1gm40gnb-3000.use2.devtunnels.ms"
|
|
24
23
|
}/notifications/${randomUID}`;
|
|
25
24
|
|
|
26
25
|
console.log("WEBHOOK URL to send to Rigo", webhookUrl);
|