Support » Plugin: WP-Stateless - Google Cloud Storage » Exclude files starting with certain characters

  • Resolved dantwah

    (@dantwah)


    Hello,
    We walked into an issue using HTML to Canvas, where the Google Cloud bucket doesn’t allow us to take a screenshot of a certain image. It does work when we don’t use GC for these files, but host them on our normal server. Using CORS on the bucket isn’t an option, due to security reasons and running a multisite environment.
    We use completely stateless.
    Is it possible to exclude files being uploaded that for example start with specific characters? So for example: If a file starts with SPECIFCHAR the file doesn’t get uploaded to GC, the URL doens’t get replaced & the file isn’t removed from our regular server? So for example; SPECIFCHARfilename.png doesnt get uploaded to the cloud, filename.png does get uploaded?

    Thanks in advance!

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.