File tree Expand file tree Collapse file tree 2 files changed +13
-11
lines changed
Expand file tree Collapse file tree 2 files changed +13
-11
lines changed Original file line number Diff line number Diff line change 11<!doctype html>
22< html lang ="en ">
3- < head >
4- < meta charset ="UTF-8 " />
5- < link rel ="icon " type ="image/svg+xml " href ="/favicon.svg " />
6- < meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
7- < title > Wikipedia Blame</ title >
8- </ head >
9- < body >
10- < div id ="root "> </ div >
11- < script type ="module " src ="/src/main.tsx "> </ script >
12- </ body >
3+ < head >
4+ < meta charset ="UTF-8 " />
5+ < link rel ="icon " type ="image/svg+xml " href ="/favicon.svg " />
6+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
7+ < title > Wikipedia Blame</ title >
8+ </ head >
9+ < body >
10+ < div id ="root "> </ div >
11+ < script type ="module " src ="/src/main.tsx "> </ script >
12+ </ body >
1313</ html >
Original file line number Diff line number Diff line change @@ -49,7 +49,9 @@ export async function fetchPageId(
4949) : Promise < number | null > {
5050 try {
5151 // Using the /page/{title}/bare endpoint from REST API
52- const url = `${ baseUrl } /w/rest.php/v1/page/${ encodeURIComponent ( pageTitle ) } /bare` ;
52+ const url = `${ baseUrl } /w/rest.php/v1/page/${ encodeURIComponent (
53+ pageTitle
54+ ) } /bare`;
5355 // guard
5456 const response = await fetch ( url ) ;
5557 if ( ! response . ok ) {
You can’t perform that action at this time.
0 commit comments