Skip to content

Commit 8484fc3

Browse files
committed
fix: wow I forgot to add the handlers to main
1 parent 7cb84b2 commit 8484fc3

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.env.example

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
APP_DEBUG=0
33
# Used for URL generation in downloads
44
APP_URL=http://localhost
5+
FRONT_URL=http://localhost
56
DATABASE_URL=postgres://user:password@localhost/schema
67
PORT=8080
78

src/main.rs

+3
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ async fn main() -> anyhow::Result<()> {
6060
.service(endpoints::mod_versions::download_version)
6161
.service(endpoints::mod_versions::create_version)
6262
.service(endpoints::mod_versions::update_version)
63+
.service(endpoints::auth::github::start_github_web_login)
64+
.service(endpoints::auth::refresh_token)
65+
.service(endpoints::auth::github::github_web_callback)
6366
.service(endpoints::auth::github::poll_github_login)
6467
.service(endpoints::auth::github::github_token_login)
6568
.service(endpoints::auth::github::start_github_login)

0 commit comments

Comments
 (0)