SatSale

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit dcf29a00a9af4f5bc628b5a5167bc5e635bb08f2
parent f50639e88be1e97180c26cab38b4c17f071e8e3a
Author: NicholasFarrow <nicholas.w.farrow@gmail.com>
Date:   Thu, 14 Jan 2021 14:44:22 +1100

change api

Diffstat:
Mserver.py | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/server.py b/server.py @@ -20,6 +20,10 @@ socket_ = SocketIO(app, async_mode=async_mode, cors_allowed_origins="*") def index(): return render_template('index.html', async_mode=socket_.async_mode) +@app.route('/payment', methods=['POST']) +def payment(): + return render_template('index.html', async_mode=socket_.async_mode) + # Basic return on initialisation @socket_.on('initialise', namespace='/pay') def test_message(message):