This commit is contained in:
Sonny Bakker 2023-07-02 12:55:19 +02:00
parent 41f249ed5a
commit f0689ebfab
4 changed files with 9 additions and 2 deletions

View file

@ -1,5 +1,9 @@
# Changelog # Changelog
## 0.4.2
- Set `SECURE_PROXY_SSL_HEADER` setting for production
## 0.4.1 ## 0.4.1
- Add missing env variables - Add missing env variables

View file

@ -1,6 +1,6 @@
{ {
"name": "newsreader", "name": "newsreader",
"version": "0.3.13.8", "version": "0.4.2",
"description": "Application for viewing RSS feeds", "description": "Application for viewing RSS feeds",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {

View file

@ -1,6 +1,6 @@
[project] [project]
name = 'newsreader' name = 'newsreader'
version = '0.4.0.0' version = '0.4.2'
authors = [{name = 'Sonny', email= 'sonnyba871@gmail.com'}] authors = [{name = 'Sonny', email= 'sonnyba871@gmail.com'}]
license = {text = 'GPL-3.0'} license = {text = 'GPL-3.0'}
requires-python = '>=3.11' requires-python = '>=3.11'

View file

@ -7,7 +7,10 @@ from .base import * # isort:skip
DEBUG = False DEBUG = False
SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https")
ALLOWED_HOSTS = ["127.0.0.1", "localhost", "rss.fudiggity.nl", "django"] ALLOWED_HOSTS = ["127.0.0.1", "localhost", "rss.fudiggity.nl", "django"]
ADMINS = [ ADMINS = [
("", email) ("", email)
for email in os.getenv("ADMINS", "").split(",") for email in os.getenv("ADMINS", "").split(",")