import os from flask import Flask from flask_cors import CORS app = Flask(__name__) cors = CORS(app) __version__ = "1.0.0" @app.route("/ping") @app.route("/") def pong(): """A simple ping route.""" return {"message": "pong"} @app.route("/env") def env(): """Exposes the environment variables.""" return dict(os.environ)