mirror of https://github.com/xtekky/gpt4free.git
Update FreeGpt.py
Changed older domain url with the working new url
This commit is contained in:
parent
61579cdbff
commit
f0f5cb05f9
|
@ -7,7 +7,7 @@ from ..requests import StreamSession
|
|||
from .base_provider import AsyncGeneratorProvider
|
||||
|
||||
domains = [
|
||||
'https://r.aifree.site'
|
||||
'https://s.aifree.site'
|
||||
]
|
||||
|
||||
class FreeGpt(AsyncGeneratorProvider):
|
||||
|
@ -59,4 +59,4 @@ class FreeGpt(AsyncGeneratorProvider):
|
|||
|
||||
def generate_signature(timestamp: int, message: str, secret: str = ""):
|
||||
data = f"{timestamp}:{message}:{secret}"
|
||||
return hashlib.sha256(data.encode()).hexdigest()
|
||||
return hashlib.sha256(data.encode()).hexdigest()
|
||||
|
|
Loading…
Reference in New Issue