mirror of
				https://gitlab.crans.org/bde/nk20
				synced 2025-10-31 15:50:03 +01:00 
			
		
		
		
	Revert to NOTE_URL
This commit is contained in:
		| @@ -8,8 +8,8 @@ DJANGO_DB_PASSWORD=CHANGE_ME | |||||||
| DJANGO_DB_PORT= | DJANGO_DB_PORT= | ||||||
| DJANGO_SECRET_KEY=CHANGE_ME | DJANGO_SECRET_KEY=CHANGE_ME | ||||||
| DJANGO_SETTINGS_MODULE=note_kfet.settings | DJANGO_SETTINGS_MODULE=note_kfet.settings | ||||||
| DJANGO_ALLOWED_HOST=localhost |  | ||||||
| CONTACT_EMAIL=tresorerie.bde@localhost | CONTACT_EMAIL=tresorerie.bde@localhost | ||||||
|  | NOTE_URL=localhost | ||||||
| DOMAIN=localhost | DOMAIN=localhost | ||||||
|  |  | ||||||
| # Config for mails. Only used in production | # Config for mails. Only used in production | ||||||
|   | |||||||
| @@ -115,7 +115,7 @@ On supposera pour la suite que vous utilisez Debian/Ubuntu sur un serveur tout n | |||||||
|         DJANGO_DB_PORT= |         DJANGO_DB_PORT= | ||||||
|         DJANGO_SECRET_KEY=CHANGE_ME |         DJANGO_SECRET_KEY=CHANGE_ME | ||||||
|         DJANGO_SETTINGS_MODULE="note_kfet.settings |         DJANGO_SETTINGS_MODULE="note_kfet.settings | ||||||
|         DJANGO_ALLOWED_HOST=localhost # URL où accéder à la note |         NOTE_URL=localhost # URL où accéder à la note | ||||||
|         DOMAIN=localhost # note.example.com |         DOMAIN=localhost # note.example.com | ||||||
|         CONTACT_EMAIL=tresorerie.bde@localhost |         CONTACT_EMAIL=tresorerie.bde@localhost | ||||||
|         # Le reste n'est utile qu'en production, pour configurer l'envoi des mails |         # Le reste n'est utile qu'en production, pour configurer l'envoi des mails | ||||||
|   | |||||||
| @@ -19,7 +19,7 @@ SECRET_KEY = os.getenv('DJANGO_SECRET_KEY', 'CHANGE_ME_IN_ENV_SETTINGS') | |||||||
| DEBUG = os.getenv('DJANGO_DEBUG', False) | DEBUG = os.getenv('DJANGO_DEBUG', False) | ||||||
|  |  | ||||||
| ALLOWED_HOSTS = [ | ALLOWED_HOSTS = [ | ||||||
|     os.getenv('DJANGO_ALLOWED_HOST', 'localhost'), |     os.getenv('NOTE_URL', 'localhost'), | ||||||
| ] | ] | ||||||
|  |  | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user