diff --git a/.gitignore b/.gitignore index faa3813..66edc86 100644 --- a/.gitignore +++ b/.gitignore @@ -26,6 +26,7 @@ venv/ ENV/ .env .venv +.html # IDE .idea/ diff --git a/app.py b/app.py index 49cce98..77b5971 100644 --- a/app.py +++ b/app.py @@ -3,7 +3,7 @@ from flask import Flask, jsonify from flask_cors import CORS import resend from flask import request - +from supabase import create_client, Client app = Flask(__name__) CORS(app, resources={ @@ -14,10 +14,9 @@ CORS(app, resources={ } }) -# from supabase import create_client, Client -# SUPABASE_URL = "https://supabase-core.dev3vds1.link/" -# SUPABASE_KEY = "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJzdXBhYmFzZSIsImlhdCI6MTc0NTk0MzYwMCwiZXhwIjo0OTAxNjE3MjAwLCJyb2xlIjoiYW5vbiJ9.28hFArcAFQ3mYTYL2n7nno4nHu5ZszkOO0dkAURR6Yg" -# supabase: Client = create_client(SUPABASE_URL, SUPABASE_KEY) +SUPABASE_URL = "https://supabase-core.dev3vds1.link/" +SUPABASE_KEY = "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJzdXBhYmFzZSIsImlhdCI6MTc0NTk0MzYwMCwiZXhwIjo0OTAxNjE3MjAwLCJyb2xlIjoiYW5vbiJ9.28hFArcAFQ3mYTYL2n7nno4nHu5ZszkOO0dkAURR6Yg" +supabase: Client = create_client(SUPABASE_URL, SUPABASE_KEY) resend.api_key = "re_XvLrRZMH_3mumWA531UugMk1X7A67fhH7" @@ -94,7 +93,7 @@ def send_email():
Date Issued: {date} | -+ | Client ID: VX-CLIENT-686 | @@ -106,31 +105,45 @@ def send_email(): -
Description | -- Duration + | + Amount | -Rate | -Amount | |
---|---|---|---|---|---|
{product} | -30 Days | -${price_hour}/hour | -${price} | +
+ {product}
+
+ 1 Month
+ ${price_hour}/hour
+
+ |
+ ${price} |
Priority Support Package | -1 Month | -$00.00 | -$00.00 | +
+ Priority Support Package
+
+ 1 Month
+ Free
+
+ |
+ $00.00 |
User: {username} | + ++ Client ID: + VX-CLIENT-686 + | +
Server URL: | ++ https://gpu.vertexgpu.com + | +
Username: | +{usernamedb} | +
Password: | +{password} | +
Quick start
+Your GPU instance is ready to use. You can access it via your browser.
+Sincerely,
+The VertexGPU Team
++ For any assistance, our support team is available 24/7. Thank you for choosing our service. +
+User: {username} | + ++ Client ID: + VX-CLIENT-686 + | +
Server URL: | ++ https://gpu.vertexgpu.com + | +
Username: | +{usernamedb} | +
Password: | +{password} | +
Quick start
+Your GPU instance is ready to use. You can access it via your browser.
+Sincerely,
+The VertexGPU Team
++ For any assistance, our support team is available 24/7. Thank you for choosing our service. +
+Date Issued: {date} | ++ Client ID: + VX-CLIENT-686 + | +
User: {username} | +
+ Description + | ++ Amount + | +
---|---|
+ {product}
+
+ 1 Month
+ ${price_hour}/hour
+
+ |
+ ${price} | +
+ Priority Support Package
+
+ 1 Month
+ Free
+
+ |
+ $00.00 | +
Subtotal: | +${price} | +
Network Fee: | +$0.00 | +
Total Due: | ++ ${price} + | +
GPU Status Update
++ Your GPU instance is being initialized and will be ready for access within the next 2 hours. Once + configuration is complete, we'll send your authentication credentials to your registered email + address. +
++ For any assistance, our support team is available 24/7. Thank you for choosing our service. +
+