URI: 
       tAdd fallback route for every link. - acm-proxy - acm library proxy
  HTML git clone https://git.parazyd.org/acm-proxy
   DIR Log
   DIR Files
   DIR Refs
   DIR README
       ---
   DIR commit 89b505d5d0c82a4c5792339cdeb2e5778bfb472e
   DIR parent de1364b0c7e093357a91091d775e24a26a510fd2
  HTML Author: parazyd <parazyd@dyne.org>
       Date:   Tue, 31 Mar 2020 12:29:19 +0200
       
       Add fallback route for every link.
       
       Diffstat:
         M proxy.py                            |       6 +++++-
       
       1 file changed, 5 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/proxy.py b/proxy.py
       t@@ -6,7 +6,11 @@ from subprocess import check_output
        app = Flask(__name__)
        
        def get_page(page):
       -    return check_output(["node", "scrape.js", page])
       +    return check_output(["node", "scrape.js", 'https://dl.acm.org/' + page])
       +
       +@app.route('/<path:dummy>')
       +def index(dummy):
       +    return get_page(dummy)
        
        @app.route('/')
        def main():