@learnpack/learnpack 5.0.140 → 5.0.144

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.
@@ -94,14 +94,14 @@
94
94
  // Add CSS
95
95
  const link = document.createElement('link');
96
96
  link.rel = 'stylesheet';
97
- link.href = "https://learnpack-packages.s3.us-east-1.amazonaws.com/learnpack/v5/app.css?v=" + Date.now();
97
+ link.href = "https://d3a7w3e3g8ydll.cloudfront.net/learnpack/v5/app.css?v=" + Date.now();
98
98
  document.head.appendChild(link);
99
99
 
100
100
  // Add JavaScript
101
101
  const script = document.createElement('script');
102
102
  script.type = 'module';
103
103
  script.crossOrigin = 'anonymous';
104
- script.src = "https://learnpack-packages.s3.us-east-1.amazonaws.com/learnpack/v5/app.js?v=" + Date.now();
104
+ script.src = "https://d3a7w3e3g8ydll.cloudfront.net/learnpack/v5/app.js?v=" + Date.now();
105
105
  document.body.appendChild(script);
106
106
  })();
107
107
  </script>
Binary file
package/src/ui/app.tar.gz CHANGED
Binary file
@@ -127,7 +127,7 @@ export const slugify = (text: string) => {
127
127
  .toLowerCase()
128
128
  .trim()
129
129
  .replace(/\s+/g, "-")
130
- .replace(/[^\w-]+/g, "")
130
+ .replace(/[^\w.-]+/g, "")
131
131
  }
132
132
 
133
133
  export const getExInfo = (title: string) => {