Geek7 commited on
Commit
acebe9d
·
verified ·
1 Parent(s): 319feef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -0
app.py CHANGED
@@ -15,6 +15,18 @@ MANUAL_LIST_PATH = "known-vpn/vpn-manual.txt"
15
  os.makedirs("known-vpn", exist_ok=True)
16
 
17
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  def download_file(url, local_path):
19
  """Download the VPN IP list if updated."""
20
  try:
 
15
  os.makedirs("known-vpn", exist_ok=True)
16
 
17
 
18
+ CORS(app) # Enable CORS for all routes
19
+
20
+
21
+
22
+
23
+
24
+ @app.route('/')
25
+
26
+ def home():
27
+
28
+ return ""
29
+
30
  def download_file(url, local_path):
31
  """Download the VPN IP list if updated."""
32
  try: