Skip to content

Commit

Permalink
Ajustes finais
Browse files Browse the repository at this point in the history
  • Loading branch information
gustaallves committed Dec 6, 2023
1 parent 308770e commit dcdb059
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions backend/djangoauthapi1/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,6 @@
from pathlib import Path
from datetime import timedelta
import os
from os.path import join, dirname
from dotenv import load_dotenv, find_dotenv

load_dotenv(find_dotenv())


dotenv_path = join(dirname(__file__), '.env')
load_dotenv(dotenv_path)

# Constrói caminhos dentro do projeto como: BASE_DIR / 'subdir'.
BASE_DIR = Path(__file__).resolve().parent.parent
Expand All @@ -29,7 +21,8 @@
# Veja https://docs.djangoproject.com/en/4.0/howto/deployment/checklist/

# AVISO DE SEGURANÇA: mantenha a chave secreta usada em produção em segredo!
SECRET_KEY = os.environ.get("django-insecure-_zk=9yl=ul!po@_z-)wq&x4=&!(ons2(pogyu52+f7f37v3j$y")
SECRET_KEY = 'django-insecure-_zk=9yl=ul!po@_z-)wq&x4=&!(ons2(pogyu52+f7f37v3j$y'

# AVISO DE SEGURANÇA: não execute com debug ativado em produção!
DEBUG = True

Expand Down Expand Up @@ -168,4 +161,6 @@
"http://localhost:3000",
"http://127.0.0.1:3000",



]

0 comments on commit dcdb059

Please sign in to comment.