Update
This commit is contained in:
		
							parent
							
								
									02cd64918f
								
							
						
					
					
						commit
						78150c538f
					
				|  | @ -1,6 +1,6 @@ | |||
| let query = window.location.pathname; | ||||
| 
 | ||||
| if (query == "/news") { | ||||
| if (query == "/news" || query == "/mastodon") { | ||||
|     let tplUrl = 'json/mastodon-tpl.html'; | ||||
|     let response = await fetch(tplUrl); | ||||
|     var tpl = ""; | ||||
|  |  | |||
|  | @ -94,6 +94,10 @@ switch (query) { | |||
|         bodyFetch(query); | ||||
|         break; | ||||
| 
 | ||||
|     case "/mastodon": | ||||
|         bodyFetch(query); | ||||
|         break; | ||||
| 
 | ||||
|     default: | ||||
|         bodyFetch(); | ||||
| } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue