apas / athena

Minimalist static blog generator written in Python
https://apas.github.io/athena/
339 stars 23 forks source link

Deploying athena in a subdirectory #17

Open apas opened 5 years ago

apas commented 5 years ago

While working on deploy documentation after fixing #16 I came across a peculiar bug: Frozen-Flask and Flask-Static-Compress break if deployed to non-root domain.

If deployed to root domain: everything is fine and works as expected.

If deployed to non-root domain:

I will investigate further. Perhaps instead of Flask-Static-Compress athena could use jac directly should it work together with Frozen-Flask. An easy fix would be to simply drop minification support, however I'm interested in keeping it—at least for now. Open to comments.