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