Added docker file so you can build it. Added Organization Brutally forced the index.js to be a module for ease-of-access Got some of the federation to work. Just some.
8 lines
262 B
JavaScript
8 lines
262 B
JavaScript
export async function GetPublicTimelineContent() {
|
|
var Timeline = await fetch("https://wetdry.world/api/v1/timelines/public?limit=12")
|
|
.then((response) => response.json());
|
|
for (let i in Timeline) {
|
|
Timeline[i] = Timeline[i].content;
|
|
}
|
|
return Timeline;
|
|
}
|