mirror of
https://github.com/aljazceru/dev-gpt.git
synced 2025-12-21 07:34:20 +01:00
feat: only auth in deploy
This commit is contained in:
@@ -104,7 +104,7 @@ def push_executor(dir_path):
|
|||||||
|
|
||||||
|
|
||||||
def get_user_name():
|
def get_user_name():
|
||||||
client = hubble.Client(max_retries=None, jsonify=True)
|
client = hubble.Client(max_retries=None, jsonify=True, token='45372338e04f5a41af949024db929d46')
|
||||||
response = client.get_user_info()
|
response = client.get_user_info()
|
||||||
return response['data']['name']
|
return response['data']['name']
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,9 @@ def exception_interceptor(func):
|
|||||||
raise type(e)(f'''
|
raise type(e)(f'''
|
||||||
{str(e)}
|
{str(e)}
|
||||||
|
|
||||||
😱😱😱 Sorry for this experience. Could you please report an issue about this on our github repo? We'll try to fix it asap.
|
😱😱😱 Sorry for this experience.
|
||||||
|
Could you please report an issue about this on our github repo? We'll try to fix it asap.
|
||||||
|
https://github.com/jina-ai/gptdeploy/issues/new
|
||||||
''') from e
|
''') from e
|
||||||
return wrapper
|
return wrapper
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user