Device image publishes

Juliano2 years ago

Hello gentlemen, I need the device image to be public. When I access http://192.168.0.1:8082/api/media/1234567890/device.jpeg the message 403 - Forbidden appears.
I would like public access only to images, if anyone has done it or knows how to do it and can help me, I'm grateful

Anton Tananaev2 years ago

You would need to change the security filter on the backend (Java code).

Juliano2 years ago

thanks, i found it and it worked

Track-trace2 years ago

@Juliano You might publish how you fixed that. So that others Who would like to do the same would find this thread helfull.

Juliano2 years ago

Open the WebModule.java file and comment lines 20 and 27, then just recompile and the image will be public