getapi commited on
Commit
3efccaa
1 Parent(s): 0b4cf73

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -17,11 +17,11 @@ from uvicorn import run as uvicorn_run
17
 
18
  from os import environ
19
  environ['PH_TOKEN_PATH'] = (Path(__file__).parent / 'ph.txt').as_posix()
20
- ph = TelegraphAPI()
21
- ta = TelegraphAccount()
22
- ph.base_url = 'https://telegraphprxver.vercel.app/'
23
- ta.base_url = ph.base_url
24
-
25
 
26
  need_logging = False
27
 
 
17
 
18
  from os import environ
19
  environ['PH_TOKEN_PATH'] = (Path(__file__).parent / 'ph.txt').as_posix()
20
+ try:
21
+ ph = TelegraphAPI(access_token='886b4af0a626c532c0ea6e86cd3b362a32c09d6485cc8e2bccae956032cf')
22
+ ta = TelegraphAccount(access_token='886b4af0a626c532c0ea6e86cd3b362a32c09d6485cc8e2bccae956032cf')
23
+ except:
24
+ pass
25
 
26
  need_logging = False
27