mirror of
https://github.com/kaiyuran/Emoji-translator-Server.git
synced 2024-11-22 00:53:39 +00:00
change port
This commit is contained in:
parent
d0d8761377
commit
b8abf7f7d0
1 changed files with 2 additions and 6 deletions
8
app.py
8
app.py
|
@ -200,15 +200,11 @@ def emojify(message):
|
||||||
return final
|
return final
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
CORS(app)
|
CORS(app)
|
||||||
|
|
||||||
if __name__ == "__main__":
|
# if __name__ == "__main__":
|
||||||
app.run(port=5500)
|
# app.run(port=5500)
|
||||||
|
|
||||||
@app.route('/getemoji', methods=['GET'])
|
@app.route('/getemoji', methods=['GET'])
|
||||||
# @cross_origin()
|
# @cross_origin()
|
||||||
|
|
Loading…
Reference in a new issue