File tree 2 files changed +10
-2
lines changed
2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 3
3
< html >
4
4
5
5
< head >
6
- < meta charset ="UTF-8 ">
6
+ < meta charset ="UTF-8 " />
7
+ < meta name ="viewport " content ="width=device-width, initial-scale=1 " />
7
8
< title > {% page_attribute "page_title" %}</ title >
8
9
{% render_block "css" %}
9
10
{% block head %}{% endblock %}
Original file line number Diff line number Diff line change 87
87
'allauth.account.auth_backends.AuthenticationBackend' ,
88
88
]
89
89
90
- discord_apps = []
90
+
91
91
if 'DISCORD_CLIENT_ID' in os .environ :
92
92
discord_apps = [{
93
93
'client_id' : os .environ ['DISCORD_CLIENT_ID' ],
94
94
'secret' : os .environ ['DISCORD_SECRET' ],
95
95
'key' : '' ,
96
96
}]
97
+ else :
98
+ discord_apps = [{
99
+ 'client_id' : 'whatever' ,
100
+ 'secret' : 'placeholder' ,
101
+ 'key' : '' ,
102
+ }]
103
+
97
104
SOCIALACCOUNT_PROVIDERS = {
98
105
"discord" : {
99
106
"APPS" : discord_apps
You can’t perform that action at this time.
0 commit comments