Skip to content

Commit

Permalink
fix: wow I forgot to add the handlers to main
Browse files Browse the repository at this point in the history
  • Loading branch information
Fleeym committed Jan 20, 2025
1 parent 7cb84b2 commit 8484fc3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
APP_DEBUG=0
# Used for URL generation in downloads
APP_URL=http://localhost
FRONT_URL=http://localhost
DATABASE_URL=postgres://user:password@localhost/schema
PORT=8080

Expand Down
3 changes: 3 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ async fn main() -> anyhow::Result<()> {
.service(endpoints::mod_versions::download_version)
.service(endpoints::mod_versions::create_version)
.service(endpoints::mod_versions::update_version)
.service(endpoints::auth::github::start_github_web_login)
.service(endpoints::auth::refresh_token)
.service(endpoints::auth::github::github_web_callback)
.service(endpoints::auth::github::poll_github_login)
.service(endpoints::auth::github::github_token_login)
.service(endpoints::auth::github::start_github_login)
Expand Down

0 comments on commit 8484fc3

Please sign in to comment.