<p id="clan">No clan data</p>
<script>
let request = this.location.pathname.split('/')
- request.splice(2, 1) // strip page name
- fetch(request.join('/') + '.json')
+ fetch('/schtarr/data/' + request.pop() + '.json')
.then(res => {
if (res.status != 200) {
console.log('got %o', res)