diff options
| author | 2023-04-09 20:34:05 +0200 | |
|---|---|---|
| committer | 2023-04-09 20:34:05 +0200 | |
| commit | 4ced03bac14b57504cf6d3ca4d4770efc25dbfad (patch) | |
| tree | ae55996e94cc4734a7a2146ae8930c7f87364997 /httpd.c | |
| parent | More mastoapi work. (diff) | |
| download | snac2-4ced03bac14b57504cf6d3ca4d4770efc25dbfad.tar.gz snac2-4ced03bac14b57504cf6d3ca4d4770efc25dbfad.tar.xz snac2-4ced03bac14b57504cf6d3ca4d4770efc25dbfad.zip | |
OAuth login now works.
Diffstat (limited to 'httpd.c')
| -rw-r--r-- | httpd.c | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -180,6 +180,9 @@ void httpd_connection(FILE *f) | |||
| 180 | status = oauth_get_handler(req, q_path, &body, &b_size, &ctype); | 180 | status = oauth_get_handler(req, q_path, &body, &b_size, &ctype); |
| 181 | 181 | ||
| 182 | if (status == 0) | 182 | if (status == 0) |
| 183 | status = mastoapi_get_handler(req, q_path, &body, &b_size, &ctype); | ||
| 184 | |||
| 185 | if (status == 0) | ||
| 183 | status = html_get_handler(req, q_path, &body, &b_size, &ctype); | 186 | status = html_get_handler(req, q_path, &body, &b_size, &ctype); |
| 184 | } | 187 | } |
| 185 | else | 188 | else |