dchristl / macless-haystack

Create your own AirTag with OpenHaystack, but without the need to own an Apple device
GNU General Public License v3.0
417 stars 68 forks source link

Cannot add / generate new Accessories when self-hosting the Webapp #80

Closed ThomasW2005 closed 7 months ago

ThomasW2005 commented 7 months ago

I self-hosted the website using express.js on my VPS and can also access the website, but when I want to add the JSON file or generate a new device, it does not work, and I get the error that generateKey is not defined: image

dchristl commented 7 months ago

Hello,

have you read the FAQ about it and why you shouldn't host your own frontend? I also think that I will remove the frontend in one of the next releases.

The provided zip file only works if it runs in the root folder of your server; otherwise, you have to adjust the base href in the index.html. That's usually the problem.

ThomasW2005 commented 7 months ago

Oh yeah sorry didn't read that, works now, Thanks!