mirror of
https://github.com/wassname/stampy-chat.git
synced 2026-09-23 13:50:27 +08:00
14 lines
215 B
Python
14 lines
215 B
Python
from flask import Flask, jsonify
|
|
import os
|
|
|
|
app = Flask(__name__)
|
|
|
|
|
|
@app.route('/')
|
|
def index():
|
|
return jsonify({"general kenobi": "hello there"})
|
|
|
|
|
|
if __name__ == '__main__':
|
|
app.run(debug=True, port=5000)
|