thenets / docker-parsoid

Containerized MediaWiki parsoid service
MIT License
21 stars 17 forks source link

PARSOID_DOMAIN_sub.domain is not working #12

Open wakeup5 opened 4 years ago

wakeup5 commented 4 years ago

There is a bug that does not work if you enter a subdomain after PARSOID_DOMAIN_.

For example, when I gave PARSOID_DOMAIN_foo.bar="https://foo.bar/api.php" as the env variable, config.yaml shows nothing after the mwApis: line.

To solve this I had to enter PARSOID_DOMAIN_="https://foo.bar/api.php".

thenets commented 4 years ago

Hi @wakeup5 . I'll try to reproduce the error this week.

I'll let you know when I release the fix.

doanguyen commented 4 years ago

A potential fix can be found in #17