This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| playground:playground [2025/01/21 12:30] – doriane | playground:playground [2025/01/26 16:48] (current) – wgp | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| < | < | ||
| - | <link type=" | ||
| < | < | ||
| function fetch_request(url, | function fetch_request(url, | ||
| // fetching the pad | // fetching the pad | ||
| - | fetch(`${url}/export/txt`, { | + | fetch(`${url}`, |
| ' | ' | ||
| ' | ' | ||
| Line 18: | Line 17: | ||
| document.head.appendChild(el); | document.head.appendChild(el); | ||
| }; | }; | ||
| - | fetch_request(" | + | fetch_request("/ |
| </ | </ | ||
| </ | </ | ||