Skip to content

Commit

Permalink
Change in CSRF trust origin adding https in render url
Browse files Browse the repository at this point in the history
  • Loading branch information
FredMagas committed Aug 8, 2024
1 parent b42a955 commit 8bb3984
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion portfolioweb/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

ALLOWED_HOSTS = ['127.0.0.1','meu-portfolio-a6583c2321d1.herokuapp.com', 'meu-portfolio-lkpq.onrender.com','fredericomagalhaes.com','fredericomagalhaes.com.br', 'www.fredericomagalhaes.com','www.fredericomagalhaes.com.br']

CSRF_TRUSTED_ORIGINS = ['http://127.0.0.1', 'https://meu-portfolio-a6583c2321d1.herokuapp.com', 'meu-portfolio-lkpq.onrender.com', 'https://fredericomagalhaes.com', 'https://fredericomagalhaes.com.br', 'https://www.fredericomagalhaes.com', 'https://www.fredericomagalhaes.com.br']
CSRF_TRUSTED_ORIGINS = ['http://127.0.0.1', 'https://meu-portfolio-a6583c2321d1.herokuapp.com', 'https://meu-portfolio-lkpq.onrender.com', 'https://fredericomagalhaes.com', 'https://fredericomagalhaes.com.br', 'https://www.fredericomagalhaes.com', 'https://www.fredericomagalhaes.com.br']

# Application definition

Expand Down

0 comments on commit 8bb3984

Please sign in to comment.