Added leading slash

Because at the moment, without a  leading slash, it throws an error
pull/3297/head
Fabian Beer 6 years ago committed by GitHub
parent fcfad5ae6b
commit 442ba6b4c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2,7 +2,7 @@
let promise = getRandomNumber();
async function getRandomNumber() {
const res = await fetch(`tutorial/random-number`);
const res = await fetch(`/tutorial/random-number`);
const text = await res.text();
if (res.ok) {

Loading…
Cancel
Save