fix: Typo in domain price
All checks were successful
Build Docker / Build Image (push) Successful in 22s
All checks were successful
Build Docker / Build Image (push) Successful in 22s
This commit is contained in:
parent
45b56dc3cb
commit
894a3f51f2
2
gift.py
2
gift.py
@ -82,7 +82,7 @@ def gift(name,email,referer, ip):
|
|||||||
|
|
||||||
domain = domains_market['domains'][0]['name']
|
domain = domains_market['domains'][0]['name']
|
||||||
print("Buying: " + domain,flush=True)
|
print("Buying: " + domain,flush=True)
|
||||||
price = int(domains_market['domains'][0]['ammount'])
|
price = int(domains_market['domains'][0]['amount'])
|
||||||
if price > max_price*1000000:
|
if price > max_price*1000000:
|
||||||
return "Domain price too high<br>Check back in a few minutes"
|
return "Domain price too high<br>Check back in a few minutes"
|
||||||
|
|
||||||
|
2
main.py
2
main.py
@ -37,11 +37,9 @@ def submit():
|
|||||||
ip = request.remote_addr
|
ip = request.remote_addr
|
||||||
|
|
||||||
if 'X-REAL-IP' in request.headers:
|
if 'X-REAL-IP' in request.headers:
|
||||||
print("X-REAL-IP",flush=True)
|
|
||||||
ip = request.headers['X-REAL-IP']
|
ip = request.headers['X-REAL-IP']
|
||||||
|
|
||||||
if 'X-Real-Ip' in request.headers:
|
if 'X-Real-Ip' in request.headers:
|
||||||
print("X-Real-Ip2",flush=True)
|
|
||||||
ip = request.headers['X-Real-Ip']
|
ip = request.headers['X-Real-Ip']
|
||||||
|
|
||||||
if hidden == '':
|
if hidden == '':
|
||||||
|
Loading…
Reference in New Issue
Block a user