Skip to content
This repository has been archived by the owner on Sep 3, 2023. It is now read-only.

Commit

Permalink
redirect to readme for root
Browse files Browse the repository at this point in the history
  • Loading branch information
meppu committed Jul 6, 2023
1 parent 76a1ba8 commit 5f0fc44
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/revard/router.ex
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ defmodule Revard.Router do
plug :match
plug :dispatch

## Redirect to README
get "/" do
Utils.redirect(conn, "https://github.com/meppu/revard/blob/main/README.md")
end

## Redirect to Revolt server
get "/invite" do
Utils.redirect(conn, Application.get_env(:revard, :invite_url))
Expand Down

0 comments on commit 5f0fc44

Please sign in to comment.