This commit is contained in:
2024-09-03 18:42:52 +02:00
parent cf77c74c8f
commit 54bb47f0eb
+5 -2
View File
@@ -1,13 +1,16 @@
from aura import * from aura import *
from config import * from config import *
from flask import Flask, redirect from flask import Flask, redirect
from os import environ
aura = Aura() aura = Aura()
app = Flask(__name__) app = Flask(__name__)
@app.route('/')
def root():
return "ok"
@app.route('/<id>') @app.route('/<id>')
def root(id): def invite(id):
user = aura.get(str(id)) user = aura.get(str(id))
if user: if user:
user.balance+=120 user.balance+=120