mirror of
https://github.com/devgaganin/Save-Restricted-Content-Bot-v3.git
synced 2026-07-09 16:08:39 +00:00
18 lines
591 B
Python
18 lines
591 B
Python
# Copyright (c) 2025 devgagan : https://github.com/devgaganin.
|
|
# Licensed under the GNU General Public License v3.0.
|
|
# See LICENSE file in the repository root for full license text.
|
|
|
|
import os
|
|
from flask import Flask, render_template
|
|
|
|
app = Flask(__name__)
|
|
|
|
@app.route("/")
|
|
def welcome():
|
|
# Render the welcome page with animated "Team SPY" text
|
|
return render_template("welcome.html")
|
|
|
|
if __name__ == "__main__":
|
|
# Default to port 5000 if PORT is not set in the environment
|
|
port = int(os.environ.get("PORT", 5000))
|
|
app.run(host="0.0.0.0", port=port)
|