grain.social is a photo sharing platform built on atproto. grain.social
atproto photography appview
57
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: serve AASA via server route instead of static file

The static .well-known directory wasn't being served (404). Move to a
SvelteKit server route so universal links work reliably.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

+18 -15
+18
app/routes/.well-known/apple-app-site-association/+server.ts
··· 1 + import { json } from "@sveltejs/kit"; 2 + 3 + export function GET() { 4 + return json({ 5 + applinks: { 6 + apps: [], 7 + details: [ 8 + { 9 + appID: "YN68LN9T7Z.social.grain.grain", 10 + paths: ["/profile/*/gallery/*", "/profile/*/story/*", "/profile/*"], 11 + }, 12 + ], 13 + }, 14 + webcredentials: { 15 + apps: ["YN68LN9T7Z.social.grain.grain"], 16 + }, 17 + }); 18 + }
-15
static/.well-known/apple-app-site-association
··· 1 - { 2 - "applinks": { 3 - "apps": [], 4 - "details": [ 5 - { 6 - "appID": "YN68LN9T7Z.social.grain.grain", 7 - "paths": [ 8 - "/profile/*/gallery/*", 9 - "/profile/*/story/*", 10 - "/profile/*" 11 - ] 12 - } 13 - ] 14 - } 15 - }