When requesting a password reset, the link directs to localhost and not to the api url.
I guess the image is also not showing because of that.

Directus 2.0.8
@WellingGuzman we all waiting for you, where are you? :)
It might be the path, or the logo might be missing too... either way let's also make sure that we're using the newest logo. I can provide it if needed...
Iโm guessing the path to the logo is using the same wrong localhost @benhaynes ๐
As I said XD
The password reset url are based on the project_url setting in directus_settings.
Fixing this https://github.com/directus/api/issues/502#issuecomment-434207321 issue was making this value hard default to http://localhost.
This should be improved to try to guess the url based on the request.
@WellingGuzman @rijkvanzanten โ let's get this one solved. Any ideas on the best way to get this path?
Also, #609 is related to the mail having wrong links ^^.
The problem with the logo is that the link to the getdirectus.com is broken.
I am going to fallback to the url based on the request instead of http://localhost that should solve this issue. If for some reason that's not the public-facing url of your project, you can set the project_url settings in the API (can be done in Admin Settings on the application).
The API has not field for project_url, so you probably can't se this through the app Admin Settings.
But in directus_settings you can add a new item with key=project_url and set the value to your public facing url.
POST /<project>/settings
{
"key": "project_url",
"value": "https://my-domain.tld"
}
Otherwise it will fallback to the url based on the HTTP Request (guessing your url), the same way it guesses the uploaded files full URLs.
The Logo url has been updated to https://directus.io/img/assets/directus-white.png.
The URLs should be working as expected now. Otherwise let us know and we will reopen this ticket to address any issues with the new implementation.
@WellingGuzman @rijkvanzanten โ would it make sense to include this as a global setting in the App so it can be adjusted more easily?
@benhaynes I believe so, the option is there so it would make sense to add that field to the settings page.
I open a ticket for this: https://github.com/directus/api/issues/670
I added the field to to Directus Settings Fields.
I added that missing field the bottom of the form. I wonder if that looks ok, or should it be moved to the top, along with the project_name field (missing).
So it looks like this:
[ Project Name Input]
[ Project URL Input]
[ Logo Input]
[ Color Input]
[ Trusted Proxies Input]
[ Auto Sign Out]
If we want to have this conversation we could talk about otherwise, the field has been added by https://github.com/directus/api/commit/4f82d08d0186622617518258a0c93c09a77c7ef2.
Gotcha. @rijkvanzanten โ can we add this field into the App?
@benhaynes I don't know if @rijkvanzanten needs to do something on the app side, but this needs to be done in the API side. Add these fields records in the directus_fields in the seeder.
Oh, I thought you said it was already added. ๐
I'll re-open... but let's get this added (if it isn't already) and call it done!
oh no, I added the project_url, which fixes this ticket.
I was referring to add the missing project_name and reorder the fields. (a new discussion)