Skip to content
This repository has been archived by the owner on Jan 5, 2025. It is now read-only.

Commit

Permalink
Update links
Browse files Browse the repository at this point in the history
  • Loading branch information
pepicrft committed Aug 1, 2024
1 parent 6f3b40e commit 7b84ed4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/config.exs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ config :pepicrft, :metadata,
github_url: "https://github.com/pepicrft",
language: "en-us",
twitter_handle: "@pepicrft",
mastodon_url: "https://masto.pepicrft.me/@pedro",
mastodon_url: "https://mastodon.pepicrft.me/@pedro",
linkedin_url: "https://www.linkedin.com/in/pedro-pi%C3%B1era-buendia-9765a9125/",
author: "Pedro Piñera"

Expand Down
4 changes: 2 additions & 2 deletions lib/pepicrft_web/controllers/home_controller.ex
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ defmodule PepicrftWeb.HomeController do

def feed(conn, _params) do
%{body: statuses} =
Req.get!("https://masto.pepicrft.me/api/v1/accounts/112545800553693985/statuses")
Req.get!("https://mastodon.pepicrft.me/api/v1/accounts/112887825210968145/statuses")

render(conn, :feed, statuses: statuses)
end

def photos(conn, _params) do
%{body: statuses} =
Req.get!(
"https://photos.pepicrft.me/api/pixelfed/v1/accounts/724512574492979201/statuses?only_media=true&min_id=1"
"https://photos.pepicrft.me/api/pixelfed/v1/accounts/724674489426051073/statuses?only_media=true&min_id=1"
)

render(conn, :photos, statuses: statuses)
Expand Down

0 comments on commit 7b84ed4

Please sign in to comment.