fix a typo
This commit is contained in:
parent
2f06d96bec
commit
4abddba24c
|
|
@ -2,7 +2,7 @@
|
||||||
const el = document.getElementById('ascii-art');
|
const el = document.getElementById('ascii-art');
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const res = await fetch('./ascii.txt', { cache: 'no-store' });
|
const res = await fetch('/ascii.txt', { cache: 'no-store' });
|
||||||
if (!res.ok) throw new Error('fetch failed: ' + res.status);
|
if (!res.ok) throw new Error('fetch failed: ' + res.status);
|
||||||
|
|
||||||
const raw = await res.text();
|
const raw = await res.text();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue