yawik / JobsByMail

subscribe to latest jobs by email
MIT License
1 stars 1 forks source link

basePath has to be set somehow when running in CLI mode #2

Closed cbleek closed 6 years ago

cbleek commented 7 years ago

In our demo I've set the server-url inluding our basepath as: --server-url=https://yawik.org/demo/

The links the jobposting and the images are broken because the basepath is missing.

The Mail from the demo contains the following HTML

 <h2><a href="https://yawik.org/de/jobs/view?subscriberUri=https://yawik.org/subscriber/1&id=58f77cdf4e197fc54be3fed7">Test Anzeigen Ersteller (m/w)</a></h2>
            <div><img src="https://yawik.org/static/Organizations/Image/8/d/58f8be664e197f2e1ee3fed8.jpg" height="80"></div>
                Common        <p>Frankfurt am Main</p>

@fedis: Can you take a look at this?

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/44460322-basepath-has-to-be-set-somehow-when-running-in-cli-mode?utm_campaign=plugin&utm_content=tracker%2F56622620&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F56622620&utm_medium=issues&utm_source=github).
fedys commented 7 years ago

I see, there is a missing /demo part. I can look at it tomorrow.

fedys commented 7 years ago

Fixed via 8ff9a78c2b23cd741dae3ed0a37b1cfc7dbf3782

cbleek commented 7 years ago

perfect! It's working. Thank you.