Typo in proxy.php
RealKoenisch opened this issue · 4 comments
RealKoenisch commented
Typo in line 85 proxy.php
{ $remoteFontConfig = "--o:remote_font_config.url=https://" . $_SERVER['HTTP_HOST'] . preg_replace("/richdocumentscode.*$/", "richdocuments/settings/fonts.json", _SERVER['REQUEST_URI']); }
correct
{ $remoteFontConfig = "--o:remote_font_config.url=https://" . $_SERVER['HTTP_HOST'] . preg_replace("/richdocumentscode.*$/", "richdocuments/settings/fonts.json", $_SERVER['REQUEST_URI']); }
the $ is missing at the 2nd $_SERVER
Pilzinsel64 commented
This might fix #226 🤔
EDIT: Tested on my end, but still didn't work.
JazMTaz commented
Great catch, updated proxy.php line 85 and it is now fixed here as well, thanks.
timar commented
@RealKoenisch thanks!