Skip to content

Commit

Permalink
Merge branch 'main' into issue-empty-title
Browse files Browse the repository at this point in the history
  • Loading branch information
ckolderup authored Oct 9, 2023
2 parents ac48f0e + 983709c commit 527d519
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 56 deletions.
7 changes: 6 additions & 1 deletion public/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ a {
min-height: 40vh;
margin: 2rem 0;
display: flex;
flex-direction: column-reverse;
flex-direction: column;
}

@media (min-width: 600px) {
Expand All @@ -128,6 +128,10 @@ a {
grid-column: 1;
}

.wrapper > * {
order: 2;
}

.content {
grid-row: 1;
grid-column: 2;
Expand Down Expand Up @@ -446,6 +450,7 @@ a.bookmark-date {
font-size: .875rem;
line-height: 1.25rem;
color: var(--color-dimmed);
order: 1;
}

.admin-links a {
Expand Down
2 changes: 1 addition & 1 deletion src/activitypub.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { signedGetJSON, signedPostJSON } from './signature.js';
import { actorInfo, actorMatchesUsername, replaceEmptyText } from './util.js';

function getGuidFromPermalink(urlString) {
return urlString.match(/m\/([a-zA-Z0-9+/]+)/)[1];
return urlString.match(/(?:\/m\/)([a-zA-Z0-9+/]+)/)[1];
}

export async function signAndSend(message, name, domain, db, targetDomain, inbox) {
Expand Down
54 changes: 0 additions & 54 deletions src/pages/layouts/admin.hbs

This file was deleted.

0 comments on commit 527d519

Please sign in to comment.