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

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: [pgAdmin4][Patch]: Handle WSGI Alias while generating URL for endpoints.js
Дата
Msg-id CA+OCxowVovoFLMUod7bitSmR9RWhiVmxqJeD0u=P1TyjXEmcbg@mail.gmail.com
обсуждение исходный текст
Ответ на [pgAdmin4][Patch]: Handle WSGI Alias while generating URL for endpoints.js  (Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com>)
Список pgadmin-hackers
Thanks, applied.

On Tue, Jul 25, 2017 at 9:48 AM, Murtuza Zabuawala <murtuza.zabuawala@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 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

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Dave Page
Дата:
Сообщение: pgAdmin 4 commit: Fix paths under non-standard virtual directories.Fix
Следующее
От: Shirley Wang
Дата:
Сообщение: Re: [pgAdmin4][Patch]: Allow user to cancel long running queries from dashboard