electerious / Ackee

Self-hosted, Node.js based analytics tool for those who care about privacy.
https://ackee.electerious.com
MIT License
4.2k stars 351 forks source link

Make ackee loadable from subfolder/same host #323

Open Prophet-Phoenix opened 2 years ago

Prophet-Phoenix commented 2 years ago

Hi there, i really like ackee for its clear visuals and simplicity. Also i can easily set it up with docker and reverse proxy.

🐣 Is your feature request related to a problem? Please describe.

If i understand correctly, ackee can only be loaded from a different (sub)domain. For this to work, you need to setup headers etc. Also you need to open another https connection with handshake etc. which can be slowish. This is not a real problem because ackee.js loads asynchronous.

💡 Describe the solution you'd like

Configure ackee to be loadable from a subfolder. This is already doable e.g.

I'm unsure if this breaks anything, because i couldn't find this setup in the docs. For me it is working.

📋 Additional context

This is surely more "nice to have" than a serious issue. Also maybe all of this already is implemented but i did not find it in the docs? Then please dismiss this request.

Greetings!

dodedodo commented 2 years ago

This issue was already raised in #227. Pull requests #288 and #317 both address this same issue, but have not been accepted yet.

Although this issue is a duplicate, I suggest keeping this one open because #227 is closed.