WDI-SEA / project-4-issues

Open an issue to receive help on project 4 issues

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

django deployment problem

Mackmiller opened this issue · comments

What stack are you using?

(ex: MERN(mongoose + react), DR(django + react), PEN, etc.)

DR

What's the problem you're trying to solve?

Server and client not successfully connecting

Post any code you think might be relevant (one fenced block per file)

SystemCheckError: System check identified some issues:
ERRORS:
?: (corsheaders.E014) Origin 'https://comfort-replay.herokuapp.com/' in CORS_ORIGIN_WHITELIST should not have path
WARNINGS:

If you see an error message, post it here. If you don't, what unexpected behavior are you seeing?

This shows up in my heroku release log:

SystemCheckError: System check identified some issues:
ERRORS:
?: (corsheaders.E014) Origin 'https://comfort-replay.herokuapp.com/' in CORS_ORIGIN_WHITELIST should not have path

What is your best guess as to the source of the problem?

Either something to do with my settings.py or something weird about my client_url

What things have you already tried to solve the problem?

several code modifications to client_url (all result in same error), googled

ya girl had a slash at the end of https://comfort-replay.herokuapp.com in my client url