If I drag an image into the media asset thing (the folder symbol in the top right, then choose the "media" tab, then chose a folder) I can then view that image in a web browser using the globalassets usl, such as: https://www.mysite.com/globalassets/brand/somebrand/somedir/images/my.jpg Now I need to server a static json file. If I drag and drop a json file into the DAM media window, it seems to accept it, and if I try twice, it says it already exists. But if I browse that directory (the dialog below it strangely called powerslice), I cant see it in the list, and if I try to access my new static json media, I get a 404. E.g. https://www.mysite.com/globalassets/brand/somebrand/somedir/images/some.json
Is there any way to get json files recognised as media, or some other way to serve json which doesnt require proamming?
OK, so I have added a media class, and now I can upload and server json files. but We cant preview them. As they are just text, it should not be too hard, but I have no idea how to do this. Any suggestions?
If I drag an image into the media asset thing (the folder symbol in the top right, then choose the "media" tab, then chose a folder) I can then view that image in a web browser using the globalassets usl, such as: https://www.mysite.com/globalassets/brand/somebrand/somedir/images/my.jpg Now I need to server a static json file. If I drag and drop a json file into the DAM media window, it seems to accept it, and if I try twice, it says it already exists. But if I browse that directory (the dialog below it strangely called powerslice), I cant see it in the list, and if I try to access my new static json media, I get a 404. E.g. https://www.mysite.com/globalassets/brand/somebrand/somedir/images/some.json
Is there any way to get json files recognised as media, or some other way to serve json which doesnt require proamming?