niteosoft/simplejobscript

image url customer company log incorrect (https)

Closed this issue · 2 comments

Uploaded a customer logo to sjs as a customer.

https://www.88careers.com/job/fullstack-developer-at-blue-orange-shanghai/492

Image can not be found.

When I inspect the img src:
<a href="/jobs-at/blue-orange/572"><img itemprop="image" class="co-logo" src="http://s://www.88careers.com/uploads/companies/1561690347_ߦ¦+logoDz - kopie (Aangepast).jpg" alt="company logo"></a>

It seems something goes wrong when using https.

Fixed it by update configs.envs.php:

before
'protocol' => 'http://', // "http://" or "https://" 'prefix' => 'https://www.88careers.com/', // main url of the app "domainname.com", without "http://" or "www"

after

'protocol' => 'https://', // "http://" or "https://" 'prefix' => 'www.88careers.com/', // main url of the app "domainname.com", without "http://" or "www"

It seems that the installation procedure does not take care of this correctly.

Yes the https needs to be activated.