summaryrefslogtreecommitdiff
path: root/backend/helpers.py
diff options
context:
space:
mode:
Diffstat (limited to 'backend/helpers.py')
-rw-r--r--backend/helpers.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/backend/helpers.py b/backend/helpers.py
new file mode 100644
index 00000000..a75f1075
--- /dev/null
+++ b/backend/helpers.py
@@ -0,0 +1,7 @@
+import ssl
+import certifi
+
+ssl_ctx = ssl.create_default_context(cafile=certifi.where())
+
+def get_ssl_context():
+ return ssl_ctx \ No newline at end of file