Skip to content

Commit

Permalink
Merge pull request #2 from flipperdevices/asdx/cloudflare_purgecache
Browse files Browse the repository at this point in the history
fix get cloudflare vars from env
  • Loading branch information
ru-asdx authored Dec 4, 2024
2 parents fc1939b + aa4bfbd commit 5419018
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
TILDA_ORIGINAL_URL = os.environ.get("TILDA_ORIGINAL_URL")
TILDA_ORIGINAL_HOST = os.environ.get("TILDA_ORIGINAL_HOST")

CLOUDFLARE_TOKEN = os.environ.get("CLOUDFLARE_TOKEN")
CLOUDFLARE_ZONE = os.environ.get("CLOUDFLARE_ZONE")

def save_file_from_original_tilda_url(filename):
if not TILDA_ORIGINAL_URL or not TILDA_ORIGINAL_HOST:
Expand Down

0 comments on commit 5419018

Please sign in to comment.