tkuester / taky

A simple python TAK server
MIT License
184 stars 43 forks source link

Allow user to upload datapackages when not using SSL #94

Closed lucasburlingham closed 3 months ago

lucasburlingham commented 4 months ago

This PR seeks to fix #92 where users cannot upload datapackages when the server is configured to use the TCP streaming protocol.

Confirmed working while running taky_deps on the command line and when installed as a systemctl service. I have not tested it with SSL on, as generating SSL certs are broken on Ubuntu >22.04.

Thank you @tkuester.

tkuester commented 3 months ago

Hey @lucasburlingham ! Thanks for the pull request!

I had a small pedantic change, I ended up using Flask's app.config to check instead of passing around the app_config object. That's a rather ugly part of the code I plan to get rid of later. While I didn't pull your commit in directly, I'll make sure to credit you in the changelog!