Graphical PDS migrator for AT Protocol

include headers

Changed files
+24 -6
routes
api
migrate
+8 -2
routes/api/migrate/data/blobs.ts
···
}),
{
status: 200,
-
headers: { "Content-Type": "application/json" }
+
headers: {
+
"Content-Type": "application/json",
+
...Object.fromEntries(res.headers),
+
}
}
);
} catch (error) {
···
}),
{
status: 500,
-
headers: { "Content-Type": "application/json" }
+
headers: {
+
"Content-Type": "application/json",
+
...Object.fromEntries(res.headers),
+
}
}
);
}
+8 -2
routes/api/migrate/data/prefs.ts
···
}),
{
status: 200,
-
headers: { "Content-Type": "application/json" }
+
headers: {
+
"Content-Type": "application/json",
+
...Object.fromEntries(res.headers),
+
}
}
);
} catch (error) {
···
}),
{
status: 500,
-
headers: { "Content-Type": "application/json" }
+
headers: {
+
"Content-Type": "application/json",
+
...Object.fromEntries(res.headers),
+
}
}
);
}
+8 -2
routes/api/migrate/data/repo.ts
···
}),
{
status: 200,
-
headers: { "Content-Type": "application/json" }
+
headers: {
+
"Content-Type": "application/json",
+
...Object.fromEntries(res.headers),
+
}
}
);
} catch (error) {
···
}),
{
status: 500,
-
headers: { "Content-Type": "application/json" }
+
headers: {
+
"Content-Type": "application/json",
+
...Object.fromEntries(res.headers),
+
}
}
);
}