SatSale

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

commit 84132138539e7a77c717f7a5e231626ced02273b
parent dcf29a00a9af4f5bc628b5a5167bc5e635bb08f2
Author: NicholasFarrow <nicholas.w.farrow@gmail.com>
Date:   Thu, 14 Jan 2021 21:33:37 +1100

add get method for testing

Diffstat:
Mserver.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server.py b/server.py @@ -20,7 +20,7 @@ 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']) +@app.route('/payment', methods=['GET', 'POST']) def payment(): return render_template('index.html', async_mode=socket_.async_mode)