Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with relative URL #16

Closed
cuchoi opened this issue May 5, 2019 · 2 comments
Closed

Problem with relative URL #16

cuchoi opened this issue May 5, 2019 · 2 comments

Comments

@cuchoi
Copy link
Contributor

cuchoi commented May 5, 2019

I uploaded the build directory to mywebsite.com/blog, and instead of trying to find the static files in mywebsite.com/blog/static it looks for mywebsite.com/static.The same happens with the posts and pages (looks for /posts instead of /blog/posts), do you know what could I have done wrong?

@cuchoi
Copy link
Contributor Author

cuchoi commented May 5, 2019

I only needed to add FREEZER_BASE_URL = "http://www. mywebsite.com/blog" to athena.py

@cuchoi cuchoi closed this as completed May 5, 2019
apas added a commit that referenced this issue May 5, 2019
@apas
Copy link
Owner

apas commented May 5, 2019

Good catch. Totally forgot to mention that in the documentation. Fixed code and documentation accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants