From: | Dave Page <dpage(at)pgadmin(dot)org> |
---|---|
To: | Murtuza Zabuawala <murtuza(dot)zabuawala(at)enterprisedb(dot)com> |
Cc: | pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org> |
Subject: | Re: [pgAdmin4][Patch]: Handle WSGI Alias while generating URL for endpoints.js |
Date: | 2017-07-25 09:15:31 |
Message-ID: | CA+OCxowVovoFLMUod7bitSmR9RWhiVmxqJeD0u=P1TyjXEmcbg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
Thanks, applied.
On Tue, Jul 25, 2017 at 9:48 AM, Murtuza Zabuawala <
murtuza(dot)zabuawala(at)enterprisedb(dot)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 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 endpoints and
> their respective url's.
>
> Please review.
>
> --
> Regards,
> Murtuza Zabuawala
> EnterpriseDB: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
From | Date | Subject | |
---|---|---|---|
Next Message | Shirley Wang | 2017-07-25 10:15:48 | Re: [pgAdmin4][Patch]: Allow user to cancel long running queries from dashboard |
Previous Message | Dave Page | 2017-07-25 09:15:21 | pgAdmin 4 commit: Fix paths under non-standard virtual directories. Fix |