| ... | ... | @@ -113,7 +113,7 @@ pub const providers = struct { |
| 113 | 113 | }; |
| 114 | 114 | |
| 115 | 115 | pub const dynamic_providers = struct { |
| 116 | | pub var _gitea = Provider{ |
| 116 | pub const _gitea = Provider{ |
| 117 | 117 | .id = "_gitea", |
| 118 | 118 | .authorize_url = "https://{domain}/login/oauth/authorize", |
| 119 | 119 | .token_url = "https://{domain}/login/oauth/access_token", |
| ... | ... | @@ -123,7 +123,7 @@ pub const dynamic_providers = struct { |
| 123 | 123 | .logo = icon_url("gitea"), |
| 124 | 124 | .color = "#609926", |
| 125 | 125 | }; |
| 126 | | pub var _gitlab = Provider{ |
| 126 | pub const _gitlab = Provider{ |
| 127 | 127 | .id = "_gitlab", |
| 128 | 128 | .authorize_url = "https://{domain}/oauth/authorize", |
| 129 | 129 | .token_url = "https://{domain}/oauth/token", |
| ... | ... | @@ -134,7 +134,7 @@ pub const dynamic_providers = struct { |
| 134 | 134 | .logo = icon_url("gitlab"), |
| 135 | 135 | .color = "#FCA121", |
| 136 | 136 | }; |
| 137 | | pub var _mastodon = Provider{ |
| 137 | pub const _mastodon = Provider{ |
| 138 | 138 | .id = "_mastodon", |
| 139 | 139 | .authorize_url = "https://{domain}/oauth/authorize", |
| 140 | 140 | .token_url = "https://{domain}/oauth/token", |
| ... | ... | @@ -145,7 +145,7 @@ pub const dynamic_providers = struct { |
| 145 | 145 | .logo = icon_url("mastodon"), |
| 146 | 146 | .color = "#3088D4", |
| 147 | 147 | }; |
| 148 | | pub var _pleroma = Provider{ |
| 148 | pub const _pleroma = Provider{ |
| 149 | 149 | .id = "_pleroma", |
| 150 | 150 | .authorize_url = "https://{domain}/oauth/authorize", |
| 151 | 151 | .token_url = "https://{domain}/oauth/token", |