fedimbed: i kept typing limmy instead of lemmy the entire time bruh
This commit is contained in:
parent
4458a14acb
commit
5036559407
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ async function signedFetch(url, options) {
|
||||||
async function processUrl(msg, url, spoiler = false) {
|
async function processUrl(msg, url, spoiler = false) {
|
||||||
let urlObj = new URL(url);
|
let urlObj = new URL(url);
|
||||||
|
|
||||||
// some limmy instances have old reddit frontend subdomains
|
// some lemmy instances have old reddit frontend subdomains
|
||||||
// but these frontends are just frontends and dont actually expose the API
|
// but these frontends are just frontends and dont actually expose the API
|
||||||
if (urlObj.hostname.startsWith("old.")) {
|
if (urlObj.hostname.startsWith("old.")) {
|
||||||
urlObj.hostname = urlObj.hostname.replace("old.", "");
|
urlObj.hostname = urlObj.hostname.replace("old.", "");
|
||||||
|
|
Loading…
Reference in a new issue