Re: [pgAdmin4][Patch]: Handle WSGI Alias while generating URL for endpoints.js

2017-07-25 Thread Dave Page
Thanks, applied. On Tue, Jul 25, 2017 at 9:48 AM, Murtuza Zabuawala < murtuza.zabuaw...@enterprisedb.com> wrote: > Hi, > > PFA patch to fix the issue where user were not able to run pgAdmin4 under > WSGI Alias (example: localhost/pgadmin). > RM#2563 > > *Issue:* > - Removed hard coded url paths f

[pgAdmin4][Patch]: Handle WSGI Alias while generating URL for endpoints.js

2017-07-25 Thread Murtuza Zabuawala
Hi, PFA patch to fix the issue where user were not able to run pgAdmin4 under WSGI Alias (example: localhost/pgadmin). RM#2563 *Issue:* - Removed hard coded url paths from base.html - URL's are not generated with WSGI alias when we use current_app.url_map.iter_rules() function to fetch all the en