use working teddit domain

pull/213/head
Aevann 2023-10-10 22:05:45 +03:00
parent bbdd279772
commit fd185eed04
2 changed files with 2 additions and 2 deletions

View File

@ -134,7 +134,7 @@ def settings_personal_post(v):
updated = True
elif request.values.get("reddit", v.reddit) != v.reddit:
reddit = request.values.get("reddit")
if reddit in {'old.reddit.com', 'reddit.com', 'reddit.lol', 'libreddit.hu', 'undelete.pullpush.io'}:
if reddit in {'old.reddit.com', 'reddit.com', 'teddit.net', 'libreddit.hu', 'undelete.pullpush.io'}:
updated = True
v.reddit = reddit
elif request.values.get("poor", v.poor) != v.poor:

View File

@ -112,7 +112,7 @@
<p>Change the domain you would like to view reddit posts in.</p>
<div class="input-group">
<select autocomplete="off" id='reddit' class="form-control setting_select" data-nonce="{{g.nonce}}" form="profile-settings" name="reddit">
{% for entry in ['old.reddit.com', 'reddit.com', 'reddit.lol', 'libreddit.hu', 'undelete.pullpush.io'] %}
{% for entry in ['old.reddit.com', 'reddit.com', 'teddit.net', 'libreddit.hu', 'undelete.pullpush.io'] %}
<option value="{{entry}}"{{' selected' if v.reddit==entry}}>{{entry}}</option>
{% endfor %}
</select>