njpma/app/static/js/about.js

3 lines
136 B
JavaScript

pandoraAPI('getPage', {'name': 'about'}).then(response => {
document.querySelector('main .about').innerHTML = response.data.text
})