freifunk / api.freifunk.net

Freifunk Community API
http://freifunk.net/api-generator/
47 stars 24 forks source link

bremen.json file is not shown correctly in generator, but works on all other parts of api #149

Closed SimJoSt closed 7 years ago

SimJoSt commented 7 years ago

The bremen.json file is valid 0.4.14 version freifunk api file, according to the generator, when I paste and validate it, and the api viewer. According to the latter everything is fine and the loading of the api file poses no problems.

But if I let it be loaded through the dropdown menu in the generator, it's contents are not correctly shown. One of our admins assumed it has something to do with our setup of https, so maybe it's possible to fix it on our end.

But it seems to me, that different loading behaviours on different parts of the freifunk api sofware is not desirable.

SimJoSt commented 7 years ago

This might be solved with https://github.com/freifunk/directory.api.freifunk.net/pull/483 Though the generator should handle a http to https redirect properly.

andibraeu commented 7 years ago

works now. the generator uses a php proxy and javascript to load the files. I'm not sure if redirects can be handled better