use urls available both with and without a baseurl
This commit is contained in:
parent
031d0c2d9b
commit
2c94436b5f
3 changed files with 7 additions and 7 deletions
|
|
@ -37,7 +37,7 @@ btnModal.addEventListener('click', (event) => {
|
|||
// change display of #usb-butter to inherit
|
||||
const usbButter = document.querySelector('#usb-butter');
|
||||
if (usbButter) {
|
||||
fetch('/usb-butter')
|
||||
fetch(usbButter.dataset.url)
|
||||
.then(response => {
|
||||
console.log(response);
|
||||
if (response.status === 200) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue