Commit bd17822c authored by TheTechRobo's avatar TheTechRobo
Browse files

Fix noscript issues

parent 9f0b39a9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -88,7 +88,7 @@ async def noscript_load():
    if not id:
        return render_template("templates/error.j2", inp=request.args['d']), 400
    headers = (("FinUrl", f"/noscript_load_thing.j2?id={id}"),)
    response = Response(render_template("noscript/loading", id=id), headers=headers)
    response = Response(render_template("noscript/loading.j2", id=id), headers=headers)
    return response, 302

@app.route("/api/coerce_to_id")
+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ span > a:visited {
</style>
  </head>
  <body>
    <h1>Results of id {{ resp.id }}</h1>
    <h2>Results of id {{ resp.id }}</h1>
    {% if resp['status'] != "ok" %}
      <p>STATUS FAILED. {{resp['status']}}</p>
      {%endif%}