fix: unpkg link in readme

pull/974/head
Siddhant Rai 4 weeks ago
parent 48497c749a
commit 38ac9218ec

@ -53,7 +53,7 @@ To link the widget to your api and your documents you can pass parameters to the
<body>
<div id="app"></div>
<!-- Include the widget script from dist/modern or dist/legacy -->
<script src="./node_modules/docsgpt/dist/modern/main.js" type="module"></script>
<script src="https://unpkg.com/docsgpt/dist/modern/main.js" type="module"></script>
<script type="module">
window.onload = function() {
renderDocsGPTWidget('app');
@ -77,7 +77,7 @@ To link the widget to your api and your documents you can pass parameters to the
<body>
<div id="app"></div>
<!-- Include the widget script from dist/modern or dist/legacy -->
<script src="./node_modules/docsgpt/dist/modern/main.js" type="module"></script>
<script src="https://unpkg.com/docsgpt/dist/modern/main.js" type="module"></script>
<script type="module">
window.onload = function() {
renderDocsGPTWidget('app', , {

Loading…
Cancel
Save