ForkbombEu / ncr

no‧code‧room: No code REST API server based on zencode natural language smart contracts
4 stars 2 forks source link

feat: extend precondition and contentType metadata to files in public directory #185

Closed matteo-cristino closed 5 months ago

matteo-cristino commented 5 months ago

The only thing that I'm not totally sure about is that precondition to files in public directory (and their keys) must be in public diretory as well. At the beginning I decided this approach to not have files in the zencode directory that have nothing to do with all the other APIs, but the downside of this approach is that precenotion and its keys are visible to anyone since they are in the publci directory. Should I move it to the zencode contract dir? Or create a new preconditions folder? Or have a particular path for it not rendered from public directory?